URL protection action
akamai_appsec_url_protection_action
BetaHello. Just a note to let you know the underlying API on which this resource is built is general release and has been vetted, but because this is a new feature for our Terraform provider, we've given it beta label.
This status just means we've paused for a bit to get your feedback to make sure this resource works like you need and expect.
Update your URL protection policy's actions.
resource "akamai_appsec_url_protection_action" "my_protection_action" {
config_id = 12345
security_policy_id = "abcd_123456"
url_protection_policy_id = 987654
max_rate_threshold_action = "deny"
load_shedding_action = "deny"
}my_protection_policy_actions = {
config_id = 12345
load_shedding_action = "deny"
max_rate_threshold_action = "deny"
security_policy_id = "abcd_123456"
url_protection_policy_id = 987654
}Arguments
Send the required arguments to set your URL protection policy's actions.
| Argument | Required | Description |
|---|---|---|
config_id |
✔️ | Your security configuration's ID. |
security_policy_id |
✔️ | Your security policy's ID. |
url_protection_policy_id |
✔️ | A protection policy's ID. |
max_rate_threshold_action |
The action taken when the max rate threshold is exceeded. Possible values are:
|
|
load_shedding_action |
The action taken when load shedding is triggered. Possible values are:
|
Attributes
There is no standard output for this resource. Adding an output block returns the protection policy’s details you provided on update.
Updated 9 days ago
