@Stability(value=Stable) public static final class CfnWebACL.WafActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.WafActionProperty>
CfnWebACL.WafActionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnWebACL.WafActionProperty |
build()
Builds the configured instance.
|
CfnWebACL.WafActionProperty.Builder |
type(String type)
Sets the value of
CfnWebACL.WafActionProperty.getType() |
@Stability(value=Stable) public CfnWebACL.WafActionProperty.Builder type(String type)
CfnWebACL.WafActionProperty.getType()type - Specifies how you want AWS WAF to respond to requests that match the settings in a `Rule` . This parameter is required.
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.WafActionProperty build()
build in interface software.amazon.jsii.Builder<CfnWebACL.WafActionProperty>CfnWebACL.WafActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.