

# SingleHeader


Inspect one of the headers in the web request, identified by name, for example, `User-Agent` or `Referer`. The name isn't case sensitive.

You can filter and inspect all headers with the `FieldToMatch` setting `Headers`.

This is used to indicate the web request component to inspect, in the [FieldToMatch](API_FieldToMatch.md) specification. 

Example JSON: `"SingleHeader": { "Name": "haystack" }` 

## Contents


 ** Name **   <a name="WAF-Type-SingleHeader-Name"></a>
The name of the query header to inspect.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 64.  
Pattern: `.*\S.*`   
Required: Yes

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/wafv2-2019-07-29/SingleHeader) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/wafv2-2019-07-29/SingleHeader) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/wafv2-2019-07-29/SingleHeader) 