Content protection rule
akamai_botman_content_protection_rule
Creates, updates, and deletes a content protection rule. To delete a rule, run terraform destroy
.
resource "akamai_botman_content_protection_rule" "my_content_protection_rule" {
config_id = 12345
security_policy_id = "abc1_12345"
content_protection_rule = file("${path.module}/content-protection-rule.json")
}
Arguments
Pass the required IDs and your content protection rule's configuration to create or update a rule.
Argument | Required | Description |
---|---|---|
config_id | ✔️ | The security configuration's ID. |
security_policy_id | ✔️ | The security policy's ID. |
content_protection_rule | ✔️ | A JSON-formatted array of rule conditions. Provide a file path to the conditions or inline as a json encoded array. Use the Bot Manager API or Bot Manager in Akamai Control Center to create a configuration. Then, export your configuration or use the corresponding data source to get the JSON file. |
Attributes
There is no default standard output. For detailed information about the content protection rule, see your state file.
Updated 5 months ago