API constraints protection

akamai_appsec_api_constraints_protection

Enables or disables API constraints protection. These constraints specify the action to be taken when designated API endpoints are invoked.

resource "akamai_appsec_api_constraints_protection" "protection" {
  config_id          = 12345
  security_policy_id = "abcd_123456"
  enabled            = true
}

Arguments

ArgumentRequiredDescription
config_id✔️A security configuration ID.
enabled✔️Set to true to enable API constraints protection; set to false to disable API constraints protection.
security_policy_idA security policy ID.

Attributes

Returned is a list of the current protection settings.