Custom-defined bot


Returns information about your custom-defined bots.

Use the bot_id argument to limit the returned data to the specified bot.


data "akamai_botman_custom_defined_bot" "custom_bots" {
  config_id = data.akamai_appsec_configuration.configuration.config_id

output "custom_bots_json" {
  value = data.akamai_botman_custom_defined_bot.custom_bots.json

data "akamai_botman_custom_defined_bot" "custom_bot" {
  config_id = data.akamai_appsec_configuration.configuration.config_id
  bot_id    = "e08a628e-87dc-4343-a5c9-8767c061ceb8"

output "custom_bots_json" {
  value = data.akamai_botman_custom_defined_bot.custom_bot.json

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the custom-defined bots.
  • bot_id (Optional). Unique identifier of the custom bot you want returned. If omitted, all your custom bots are returned.

Output options

The following options can be used to determine the information returned and how that returned information is formatted:

  • json. JSON-formatted output containing information about your custom bots.