|Constructor and Description|
|Modifier and Type||Method and Description|
Builds the configured instance.
Sets the value of
public CfnWebACL.ActionProperty.Builder type(java.lang.String type)
type- For actions that are associated with a rule, the action that AWS WAF takes when a web request matches all conditions in a rule. This parameter is required. For the default action of a web access control list (ACL), the action that AWS WAF takes when a web request doesn't match all conditions in any rule.
Valid settings include the following:
ALLOW: AWS WAF allows requests
BLOCK: AWS WAF blocks requests
COUNT: AWS WAF increments a counter of the requests that match all of the conditions in the rule. AWS WAF then continues to inspect the web request based on the remaining rules in the web ACL. You can't specify
COUNTfor the default action for a WebACL.