server_​location

Version: v2024-01-09Includes use: Yes

Criterion name: Akamai Server Location

The location of the Akamai server handling the request.

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" "server_location" {
  rules_v2024_01_09 {
    name     = ""
    comments = ""
    criterion {
      server_location {
        location_type = "COUNTRY"
        countries = []
        match_operator = "IS_ONE_OF"
      }
    }
  }
}
"criterion": [
  {
    "name": "serverLocation",
    "options": {
      "locationType": "COUNTRY",
      "countries": [],
      "matchOperator": "IS_ONE_OF"
    }
  }
]

Options

Option Description
location_type
Indicates the geographic scope. Value is one of:
  • COUNTRY. The user's country.
  • REGION. The user's state or province within the country.
  • CONTINENT. The continent on which the user is.
match_operator
Specifies the match logic. Value is one of:
  • IS_ONE_OF. The field's value matches.
  • IS_NOT_ONE_OF. The field's value doesn't match.
countries
An ISO 3166-1 country codes, such as US or CN.
continents
regions
An ISO 3166 country and region codes, for example US:MA for Massachusetts or JP:13 for Tokyo.