GuideReference
TrainingSupportCommunity
Guide

Custom-defined bot

akamai_botman_custom_defined_bot

Creates or updates a custom-defined bot.

Example

resource "akamai_botman_custom_defined_bot" "custom_defined_bot" {
  config_id          = data.akamai_appsec_configuration.configuration.config_id
  custom_defined_bot = file("${path.module}/custom_defined_bot.json")
}

resource "akamai_botman_custom_defined_bot" "custom_defined_bot" {
  config_id          = "e08a628e-8a3c-4cd3-a5c9-8767c064ceb8"
  custom_defined_bot = file("${path.module}/custom_defined_bot.json")
}

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the custom defined bot.
  • custom_defined_bot (Required). JSON collection of settings and setting values for the custom bot. In the preceding sample code, the syntax file("${path.module}/custom_defined_bot.json") points to the location of a JSON file containing the custom bot settings and values. Use the Bot Manager API or Bot Manager in Akamai Control Center to create a configuration. Then, export your configuration or use the corresponding data source to get the JSON file.