Class WebAclRule
- java.lang.Object
-
- com.pulumi.aws.wafregional.outputs.WebAclRule
-
public final class WebAclRule extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebAclRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<WebAclRuleAction>action()static WebAclRule.Builderbuilder()static WebAclRule.Builderbuilder(WebAclRule defaults)java.util.Optional<WebAclRuleOverrideAction>overrideAction()java.lang.Integerpriority()java.lang.StringruleId()java.util.Optional<java.lang.String>type()
-
-
-
Method Detail
-
action
public java.util.Optional<WebAclRuleAction> action()
- Returns:
- Configuration block of the action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if `type` is `GROUP`. Detailed below.
-
overrideAction
public java.util.Optional<WebAclRuleOverrideAction> overrideAction()
- Returns:
- Configuration block of the override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if `type` is `GROUP`. Detailed below.
-
priority
public java.lang.Integer priority()
- Returns:
- Specifies the order in which the rules in a WebACL are evaluated. Rules with a lower value are evaluated before rules with a higher value.
-
ruleId
public java.lang.String ruleId()
- Returns:
- ID of the associated WAF (Regional) rule (e.g., `aws.wafregional.Rule`). WAF (Global) rules cannot be used.
-
type
public java.util.Optional<java.lang.String> type()
- Returns:
- The rule type, either `REGULAR`, as defined by [Rule](http://docs.aws.amazon.com/waf/latest/APIReference/API_Rule.html), `RATE_BASED`, as defined by [RateBasedRule](http://docs.aws.amazon.com/waf/latest/APIReference/API_RateBasedRule.html), or `GROUP`, as defined by [RuleGroup](https://docs.aws.amazon.com/waf/latest/APIReference/API_RuleGroup.html). The default is REGULAR. If you add a RATE_BASED rule, you need to set `type` as `RATE_BASED`. If you add a GROUP rule, you need to set `type` as `GROUP`.
-
builder
public static WebAclRule.Builder builder()
-
builder
public static WebAclRule.Builder builder(WebAclRule defaults)
-
-