AWS::WAFv2::WebACL CountAction
Specifies that AWS WAF should count the request. Optionally defines additional custom handling for the request.
This is used in the context of other settings, for example to specify values for a rule action or a web ACL default action.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CustomRequestHandling" :
CustomRequestHandling
}
Properties
CustomRequestHandling
-
Defines custom handling 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: CustomRequestHandling
Update requires: No interruption
Examples
Set an count action
The following shows an example count action specification.
YAML
Action: Count: {}
JSON
"Action": { "Count": {} }