AWS::WAFv2::RuleGroup BlockAction - AWS CloudFormation

AWS::WAFv2::RuleGroup 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.

Syntax

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

Properties

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.

Required: No

Type: CustomResponse

Update requires: No interruption