akamaizer_tag
Version: v2025-02-18 | Includes use: Yes |
---|
Behavior name: Akamaizer Tag
This specifies HTML tags and replacement rules for hostnames used in conjunction with the akamaizer
behavior. Contact Akamai Professional Services for help configuring the Akamaizer.
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" "akamaizer_tag" {
rules_v2025_02_18 {
name = "Akamaize Tag"
comments = "Specifies tags and replacement rules for Akamaizer."
behavior {
akamaizer_tag {
match _hostname = ""
replacement_hostname = ""
scope = "URL_ATTRIBUTE"
tags_attribute = "IMG_SRC"
replace_all = false
include_tags_attribute = true
}
}
}
}
"behaviors": [
{
"name": "akamaizerTag",
"options": {
"matchHostname": "",
"replacementHostname": "",
"scope": "URL_ATTRIBUTE",
"tagsAttribute": "IMG_SRC",
"replaceAll": false,
"includeTagsAttribute": true
}
}
]
Options
Option | Description |
---|---|
match_hostname |
Specifies the hostname to match on as a Perl-compatible regular expression.
|
replacement_hostname |
Specifies the replacement hostname for the tag to use.
|
scope |
Specifies the part of HTML content the
tags_attribute refers to. Value is
one of:
|
tags_attribute |
Specifies the tag or tag/attribute combination to operate on. Value is one of:
|
replace_all |
Replaces all matches when enabled, otherwise replaces only the first match.
|
include_tags_attribute |
Whether to include the
tags_attribute value.
|
Updated about 12 hours ago