GuideReference
TrainingSupportCommunity
Guide

Serve alternate action

akamai_botman_serve_alternate_action

Returns information about your serve alternate actions. You can list information for all of your actions actions, or specify a single action.

Use the akamai_botman_serve_alternate_action resource to create or modify a serve alternate action.

Example

data "akamai_botman_serve_alternate_action" "serve_alternate_actions" {
  config_id  = data.akamai_appsec_configuration.configuration.config_id
}

output "serve_alternate_actions_json" {
  value = data.akamai_botman_serve_alternate_action.serve_alternate_actions.json
}

data "akamai_botman_serve_alternate_action" "serve_alternate_action" {
  config_id = data.akamai_appsec_configuration.configuration.config_id
  action_id = "cc9c3f89-e179-4892-89cf-d5e623ba9dc7"
}

output "serve_alternate_action_json" {
  value = data.akamai_botman_serve_alternate_action.serve_alternate_action.json
}

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the serve alternate actions.
  • action_id (Optional). Unique identifier of the serve alternate action you want to return. If omitted, all your serve alternate actions 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 serve alternate actions.