@Stability(value=Stable) public static final class CfnWebACL.ActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.ActionProperty>
CfnWebACL.ActionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnWebACL.ActionProperty |
build()
Builds the configured instance.
|
CfnWebACL.ActionProperty.Builder |
type(String type)
Sets the value of
CfnWebACL.ActionProperty.getType() |
@Stability(value=Stable) public CfnWebACL.ActionProperty.Builder type(String type)
CfnWebACL.ActionProperty.getType()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 requestsBLOCK : AWS WAF blocks requestsCOUNT : 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 COUNT for the default action for a WebACL.this@Stability(value=Stable) public CfnWebACL.ActionProperty build()
build in interface software.amazon.jsii.Builder<CfnWebACL.ActionProperty>CfnWebACL.ActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.