match_​cp_​code

Version: v2023-01-05Includes use: Yes

Criterion name: Content Provider Code

Match the assigned content provider code.

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" "match_cp_code" {
  rules_v2023_01_05 {
    name     = "Content Provider Code"
    comments = "Matches the assigned content provider code."
    criterion {
      match_cp_code {
        value = ""
      }
    }
  }
}
"criterion": [
  {
    "name": "matchCpCode",
    "options": {
      "value": ""
    }
  }
]

Options

Option Description
value
Specifies the CP code as an object. You only need to provide the initial id to match the CP code, stripping any cpc_ prefix to pass the integer to the rule tree. Additional CP code details may reflect back in subsequent read-only data. Contains your cp code's ID as the value of id.