This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::WAFv2::RuleGroup 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 specification.
Example JSON: "SingleHeader": { "Name": "haystack" }
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Name" :String}
YAML
Name:String
Properties
Name-
The name of the query header to inspect.
Required: Yes
Type: String
Pattern:
.*\S.*Minimum:
1Maximum:
64Update requires: No interruption