GuideReference
TrainingSupportCommunity
Guide

Custom client

akamai_botman_custom_client

Returns information about your custom clients.

Use the custom_client_id argument to limit returned data to the specified custom client.

Scopes: Security configuration; custom client

Example

terraform {
  required_providers {
    akamai = {
      source = "akamai/akamai"
    }
  }
}

provider "akamai" {
  edgerc = "~/.edgerc"
}

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

// USE CASE: User wants to return information for all custom clients

data "akamai_botman_custom_client" "custom_clients" {
  config_id = data.akamai_appsec_configuration.configuration.config_id
}
output "custom_clients_json" {
  value = data.akamai_botman_custom_client.custom_clients.json
}

// USE CASE: User only wants to return information for the custom client with the ID 592b2f92-df19-4dd8-863a-7f305ca2c3c7

data "akamai_botman_custom_client" "custom_client" {
  config_id        = data.akamai_appsec_configuration.configuration.config_id
  custom_client_id = "592b2f92-df19-4dd8-863a-7f305ca2c3c7"
}

output "custom_client_json" {
  value = data.akamai_botman_custom_client.custom_client.json
}

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the custom clients.
  • custom_client_id (Optional). Unique identifier of the custom client you want 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 clients. The returned information includes such things as the client type and the client platform (e.g., Android or iOS).