BlockAction - 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).

BlockAction

Specifies that Amazon WAF should block the request and optionally defines additional custom handling for the response to the web request.

This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.

Contents

CustomResponse

Defines a custom response for the web request.

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

Type: CustomResponse object

Required: No

See Also

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