Version: v2023-05-30 | Includes use: Yes | 
|---|
Criterion name: Request Header
Match HTTP header names or values.
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_header" {
  rules_v2023_05_30 {
    name     = "Request Header"
    comments = "Matches the cookie name or value passed with the request."
    criterion {
      request_header {
        match_wildcard_name = false
        match_operator = "IS_ONE_OF"
        header_name = ""
        values = []
        match_wildcard_value = false
        match_case_sensitive_value = true
      }
    }
  }
}
"criterion": [
  {
    "name": "requestHeader",
    "options": {
      "matchWildcardName": false,
      "matchOperator": "IS_ONE_OF",
      "headerName": "",
      "values": [],
      "matchWildcardValue": false,
      "matchCaseSensitiveValue": true
    }
  }
]
Options
| Option | Description | 
|---|---|
header_name | 
      
        
         The name of the request header, for example  
      Accept-Language.
         | 
    
match_operator | 
      
        
         The name of the request header, for example  
      Accept-Language. Value is one of:
          
  | 
    
values | 
      
        
         The request header's value, for example  
      en-US when the header header_name is Accept-Language.
         | 
    
match_wildcard_name | 
      
        
         Allows wildcards in the  
      cookie_name field, where ? matches a single character and * matches zero or more characters.
         | 
    
match_wildcard_value | 
      
        
         Allows wildcards in the  
      value field, where ? matches a single character and * matches zero or more characters.
         | 
    
match_case_sensitive_value | 
      
        
         Sets a case-sensitive match for the  
      value field.
         | 
    
