BlockAction - AWS WAFV2

BlockAction

Specifies that AWS 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 AWS WAF in the AWS WAF Developer Guide.

Type: CustomResponse object

Required: No

See Also

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