Conditional action


Returns information for your conditional actions. Conditional actions are actions typically designed to trigger in highly-specific situations.

Use the action_id argument to limit the returned data to information about the specified action.

Scopes: Security configuration; conditional action


data "akamai_botman_conditional_action" "conditional_actions" {
  config_id = data.akamai_appsec_configuration.configuration.config_id

output "conditional_actions_json" {
  value = data.akamai_botman_conditional_action.conditional_actions.json

data "akamai_botman_conditional_action" "conditional_action" {
  config_id = data.akamai_appsec_configuration.configuration.config_id
  action_id = "cc9c3f89-e179-4892-89cf-d5e623ba9dc7"

output "conditional_action_json" {
  value = data.akamai_botman_conditional_action.conditional_action.json

Argument reference

This resource supports the following arguments:

  • config_id (Required). Unique identifier of the security configuration associated with the conditional actions.
  • action_id (Optional). Unique identifier of the conditional action you‚Äôd like returned. If omitted, all conditional 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 conditional actions and how they‚Äôre configured.