CustomRequestHandling - Amazon WAFV2
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

CustomRequestHandling

Custom request handling behavior that inserts custom headers into a web request. You can add custom request handling for Amazon WAF to use when the rule action doesn't block the request. For example, CaptchaAction for requests with valid t okens, and AllowAction.

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

Contents

InsertHeaders

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 Amazon WAF quotas in the Amazon WAF Developer Guide.

Type: Array of CustomHTTPHeader objects

Array Members: Minimum number of 1 item.

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: