AWS::WAFv2::WebACL CustomRequestHandling - AWS CloudFormation

AWS::WAFv2::WebACL CustomRequestHandling

Custom request handling behavior that inserts custom headers into a web request. You can add custom request handling for the rule actions allow and count.

For information about customizing web requests and responses, see Customizing web requests and responses in AWS WAF in the AWS WAF Developer Guide.


To declare this entity in your AWS CloudFormation template, use the following syntax:


{ "InsertHeaders" : [ CustomHTTPHeader, ... ] }



The HTTP headers to insert into the request. Duplicate header names are not allowed.

For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.

Required: Yes

Type: List of CustomHTTPHeader

Update requires: No interruption