ecms_​object_​key

Version: v2024-04-29Includes use: No

Behavior name: Message Store object key selection

Defines a regular expression to match object keys in custom URLs and to access objects in a data set. You can point custom URLs to access proper values in the target data set. For an overview, see ecms​_database.

Default behavior

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

data "akamai_property_rules_builder" "ecms_object_key" {
  rules_v2025_02_18 {
    name     = "Message Store object key selection"
    comments = "Defines a regex to match object keys in custom URLs and access objects in a data set."
    behavior {
      ecms_object_key {
        regex = "^\\/datastore\\/[^\\/]+\\/[^\\/]+[\\/]{0,1}(.*)$"
      }
    }
  }
}
"behaviors": [
  {
  "name": "ecmsObjectKey",
  "options": {
    "regex": "^\\/datastore\\/[^\\/]+\\/[^\\/]+[\\/]{0,1}(.*)$"
    }
  }
]

Options

Option Description
regex
Enables sending a compressed archive file with objects to the default path of the target data set: <hostname>/bulk/<database_name>/<dataset_name>.