Behavorial DDoS action

akamai_appsec_behavioral_ddos_action

Set or update the action a security policy takes when a Behavioral DDoS profile is triggered.

resource "akamai_appsec_behavioral_ddos_action" "my_bde_action" {
  config_id                  = 12345
  security_policy_id         = "abcd_123456"
  behavioral_ddos_profile_id = akamai_appsec_behavioral_ddos_profile.my_bde_profile.behavioral_ddos_profile_id
  action                     = "deny"
}
my_bde_action = {
  action                     = "deny"
  behavioral_ddos_profile_id = 987654
  config_id                  = 12345
  hostname_count             = 2
  profile_name               = "my_bde_profile"
  security_policy_id         = "abcd_123456"
  sensitivity                = "MODERATE"
}

Arguments

Send the required arguments to set your Behavioral DDoS profile's action.

📘

You can't change the config_id, security_policy_id, or behavioral_ddos_profile_id after you create the action.

ArgumentRequiredDescription
config_id✔️Your security configuration's ID.
security_policy_id✔️Your security policy's ID.
behavioral_ddos_profile_id✔️The Behavioral DDoS profile's ID.
action✔️The action taken when the profile is triggered. Possible values are:
  • alert. Record the event.
  • deny. Block the request.
  • none. Take no action.

Attributes

There is no standard output for this resource. Adding an output block returns the action details you provided on create and these computed attributes.

AttributeDescription
profile_nameThe Behavioral DDoS profile's name.
sensitivityThe profile's sensitivity level. Possible values are CONSERVATIVE, MODERATE, or STRICT.
hostname_countThe number of hostnames the profile applies to.

Did this page help you?