Version: v2023-01-05 | Includes use: Yes |
---|
Criterion name: Variable
Matches a built-in variable, or a custom variable pre-declared within the rule tree by the set_variable
behavior. See Support for variables for more information on this feature.
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_variable" {
rules_v2023_01_05 {
name = "Variable"
comments = "Matches a built-in variable, or a custom variable pre-declared within the rule tree"
criterion {
match_variable {
variable_name = ""
match_wildcard = false
variable_values = []
match_case_sensitive = true
match_operator = "IS_ONE_OF"
}
}
}
}
"criterion": [
{
"name": "matchVariable",
"options": {
"variableName": "",
"matchWildcard": false,
"variableValues": [],
"matchCaseSensitive": true,
"matchOperator": "IS_ONE_OF"
}
}
]
Options
Option | Description |
---|---|
variable_name |
The name of the variable to match.
|
match_operator |
The name of the variable to match. Value is one of:
|
variable_values |
Specifies an array of matching strings.
|
variable_expression |
Specifies a single matching string.
|
lower_bound |
Specifies the range's numeric minimum value.
|
upper_bound |
Specifies the range's numeric maximum value.
|
match_wildcard |
When matching string expressions, enabling this allows wildcards, where
? matches a single character and * matches zero or more characters.
|
match_wildcard |
When matching string expressions, enabling this performs a case-sensitive match.
|