recovery_​config

Version: v2025-02-18Includes use: Yes

Criterion name: Recovery Configuration Name

Matches on specified origin recovery scenarios. The origin_failure_recovery_policy behavior defines the scenarios that trigger the recovery or retry methods you set in the origin_failure_recovery_method rule. If the origin fails, the system checks the name of the recovery method applied to your policy. It then either redirects the requesting client to a backup origin or returns predefined HTTP response codes.

Default criterion

These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.

data "akamai_property_rules_builder" "recovery_config" {
  rules_v2025_02_18 {
    name     = "Recovery Configuration Name"
    comments = "Matches on specified origin recovery scenarios."
    criterion {
      recovery_config {
        config_name = ""
      }
    }
  }
}
"criterion": [
  {
    "name": "recoveryConfig",
    "options": {
      "configName": ""
    }
  }
]

Options

Option Description
config_name
A unique identifier used for origin failure recovery configurations. This is the recovery method configuration name you apply when setting origin failure recovery methods and scenarios in origin_failure_recovery_method and origin_failure_recovery_policy behaviors. The value can contain alphanumeric characters and dashes.