cloudlets_​origin

Version: v2025-02-18Includes use: Yes

Criterion name: Conditional Origin ID

Allows Cloudlets Origins, referenced by label, to define their own criteria to assign custom origin definitions. The criteria may match, for example, for a specified percentage of requests defined by the cloudlet to use an alternative version of a website.

You need to pair this criteria with a sibling origin definition. It should not appear with any other criteria, and an allow_cloudlets_origins behavior needs to appear within a parent rule.

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" "cloudlets_origin" {
  rules_v2025_02_18 {
    name     = "Conditional Origin ID"
    comments = "Defines their own criteria to assign custom origin definitions."
    criterion {
      cloudlets_origin {
        origin_id = ""
      }
    }
  }
}
"criterion": [
  {
    "name": "cloudletsOrigin",
    "options": {
      "originId": ""
    }
  }
]

Options

Option Description
origin_id
The cloudlet's origins identifier, limited to alphanumeric and underscore characters.