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 CustomHTTPHeader
A custom header for custom request and response handling. This is used in
CustomResponse and CustomRequestHandling
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
Name-
The name of the custom header.
For custom request header insertion, when AWS WAF inserts the header into the request, it prefixes this name
x-amzn-waf-, to avoid confusion with the headers that are already in the request. For example, for the header namesample, AWS WAF inserts the headerx-amzn-waf-sample.Required: Yes
Type: String
Minimum:
1Maximum:
64Update requires: No interruption
Value-
The value of the custom header.
Required: Yes
Type: String
Minimum:
1Maximum:
255Update requires: No interruption