filename
Version: v2025-02-18 | Includes use: Yes |
---|
Criterion name: Filename
Matches the requested filename or tests whether it's present.
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" "filename" {
rules_v2025_02_18 {
name = "Filename"
comments = "Matches the requested filename's extension."
criterion {
filename {
values = []
match_case_sensitive = true
match_operator = "IS_ONE_OF"
}
}
}
}
"criterion": [
{
"name": "filename",
"options": {
"values": [],
"matchCaseSensitive": true,
"matchOperator": "IS_ONE_OF"
}
}
]
Options
Option | Description |
---|---|
match_operator |
Specifies match logic. Value is one of:
|
values |
Matches the filename component of the request URL. Allows wildcards, where
? matches a single character and * matches zero or more characters. For example, specify filename.* to accept any extension.
|
match_case_sensitive |
Sets a case-sensitive match for the
values field.
|
Updated 35 minutes ago