GuideReference
TrainingSupportCommunity

Custom client

akamai_botman_custom_client

Creates or modifies a custom client.

Example

data "akamai_appsec_configuration" "configuration" {
  name = "Documentation"
}

// USE CASE: User wants to create a custom client

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

// USE CASE: User wants to modify the custom client with the ID 1a3fd673-b9ed-4d11-8c9a-26157419ec77

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

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the custom client.
  • custom_client (Required). JSON collection of settings and setting values for the custom client. In the preceding sample code, the syntax file("${path.module}/custom_client.json") points to the location of a JSON file containing the custom_client 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.