WafAction
Details about the action that CloudFront or Amazon WAF takes when a web request matches the conditions in the rule.
Contents
- Type
-
Specifies how you want Amazon WAF to respond to requests that match the settings in a rule.
Valid settings include the following:
-
ALLOW
- Amazon WAF allows requests -
BLOCK
- Amazon WAF blocks requests -
COUNT
- Amazon WAF increments a counter of the requests that match all of the conditions in the rule. Amazon WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specifyCOUNT
for the default action for a web ACL.
Type: String
Pattern:
.*\S.*
Required: No
-
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: