| Version: v2023-09-20 | Includes use: Yes | 
|---|
Criterion name: Request Cookie
Match the cookie name or value passed with the request.
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" "request_cookie" {
  rules_v2023_09_20 {
    name     = "Request Cookie"
    comments = "Matches the cookie name or value passed with the request."
    criterion {
      request_cookie {
        match_wildcard_name = false
        match_operator = "IS"
        match_case_sensitive_name = true
        match_wildcard_value = false
        match_case_sensitive_value = true
        value = ""
        cookie_name = ""
      }
    }
  }
}
"criterion": [
  {
    "name": "requestCookie",
    "options": {
      "matchWildcardName": false,
      "matchOperator": "IS",
      "matchCaseSensitiveName": true,
      "matchWildcardValue": false,
      "matchCaseSensitiveValue": true,
      "value": "",
      "cookieName": ""
    }
  }
]
Options
| Option | Description | 
|---|---|
| cookie_name | The name of the cookie, for example,  visitorinvisitor:anon. | 
| match_operator | Narrows the match criteria. Value is one of:
           
 | 
| value | The cookie's value, for example,  anoninvisitor:anon. | 
| lower_bound | Specifies the match's minimum value.
         | 
| upper_bound | Specifies the match's maximum value.
         | 
| match_wildcard_name | Allows wildcards in the  cookie_namefield, where?matches a single character and*matches zero or more characters. | 
| match_case_sensitive_name | Sets a case-sensitive match for the  cookie_namefield. | 
| match_wildcard_value | Allows wildcards in the  valuefield, where?matches a single character and*matches zero or more characters. | 
| match_case_sensitive_value | Sets a case-sensitive match for the  valuefield. | 
