@Stability(value=Stable) public static final class CfnWebACL.RuleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.RuleProperty>
CfnWebACL.RuleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnWebACL.RuleProperty.Builder |
action(CfnWebACL.ActionProperty action)
Sets the value of
CfnWebACL.RuleProperty.getAction() |
CfnWebACL.RuleProperty.Builder |
action(IResolvable action)
Sets the value of
CfnWebACL.RuleProperty.getAction() |
CfnWebACL.RuleProperty |
build()
Builds the configured instance.
|
CfnWebACL.RuleProperty.Builder |
priority(Number priority)
Sets the value of
CfnWebACL.RuleProperty.getPriority() |
CfnWebACL.RuleProperty.Builder |
ruleId(String ruleId)
Sets the value of
CfnWebACL.RuleProperty.getRuleId() |
@Stability(value=Stable) public CfnWebACL.RuleProperty.Builder action(CfnWebACL.ActionProperty action)
CfnWebACL.RuleProperty.getAction()action - The action that AWS WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request. This parameter is required.this@Stability(value=Stable) public CfnWebACL.RuleProperty.Builder action(IResolvable action)
CfnWebACL.RuleProperty.getAction()action - The action that AWS WAF takes when a web request matches all conditions in the rule, such as allow, block, or count the request. This parameter is required.this@Stability(value=Stable) public CfnWebACL.RuleProperty.Builder priority(Number priority)
CfnWebACL.RuleProperty.getPriority()priority - The order in which AWS WAF evaluates the rules in a web ACL. This parameter is required.
AWS WAF evaluates rules with a lower value before rules with a higher value. The value must be a unique integer. If you have multiple rules in a web ACL, the priority numbers do not need to be consecutive.this@Stability(value=Stable) public CfnWebACL.RuleProperty.Builder ruleId(String ruleId)
CfnWebACL.RuleProperty.getRuleId()ruleId - The ID of an AWS WAF Regional rule to associate with a web ACL. This parameter is required.this@Stability(value=Stable) public CfnWebACL.RuleProperty build()
build in interface software.amazon.jsii.Builder<CfnWebACL.RuleProperty>CfnWebACL.RulePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.