device_characteristic
Version: v2025-02-18 | Includes use: Yes |
---|
Criterion name: Device Characteristics
Match various aspects of the device or browser making the request. Based on the value of the characteristic
option, the expected value is either a boolean, a number, or a string, possibly representing a version number. Each type of value requires a different field.
data "akamai_property_rules_builder" "device_characteristic" {
rules_v2025_02_18 {
name = "Device Characteristics"
comments = "Matches aspects of the device or browser making the request."
criterion {
device_characteristic {
characteristic = "IS_WIRELESS_DEVICE"
boolean_value = true
}
}
}
}
"criterion": [
{
"name": "deviceCharacteristic",
"options": {
"characteristic": "IS_WIRELESS_DEVICE",
"booleanValue": true
}
}
]
Options
Option | Description |
---|---|
characteristic |
Aspect of the device or browser to match. Value is one of:
|
string_match_operator |
Specifies the logic of the operator. Value is one of:
|
numeric_match_operator |
Specifies the logic of the operator. Value is one of:
|
version_match_operator |
Specifies the logic of the operator. Value is one of:
|
boolean_value |
When the
characteristic expects a boolean value, this specifies the value.
|
string_value |
When the
characteristic expects a string, this specifies the set of values.
|
numeric_value |
When the
characteristic expects a numeric value, this specifies the number.
|
version_value |
When the
characteristic expects a numeric value, this specifies the number.
|
match_case_sensitive |
Sets a case-sensitive match for the
string_value field.
|
match_wild_card |
Allows wildcards in the
string_value field, where ? matches a single character and * matches zero or more characters.
|
Updated 42 minutes ago