Package com.pulumi.aws.wafv2.inputs
Class WebAclRuleArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.wafv2.inputs.WebAclRuleArgs
-
public final class WebAclRuleArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebAclRuleArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static WebAclRuleArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<WebAclRuleActionArgs>>action()static WebAclRuleArgs.Builderbuilder()static WebAclRuleArgs.Builderbuilder(WebAclRuleArgs defaults)java.util.Optional<com.pulumi.core.Output<WebAclRuleCaptchaConfigArgs>>captchaConfig()java.util.Optional<com.pulumi.core.Output<WebAclRuleChallengeConfigArgs>>challengeConfig()com.pulumi.core.Output<java.lang.String>name()java.util.Optional<com.pulumi.core.Output<WebAclRuleOverrideActionArgs>>overrideAction()com.pulumi.core.Output<java.lang.Integer>priority()java.util.Optional<com.pulumi.core.Output<java.util.List<WebAclRuleRuleLabelArgs>>>ruleLabels()com.pulumi.core.Output<WebAclRuleStatementArgs>statement()com.pulumi.core.Output<WebAclRuleVisibilityConfigArgs>visibilityConfig()
-
-
-
Field Detail
-
Empty
public static final WebAclRuleArgs Empty
-
-
Method Detail
-
action
public java.util.Optional<com.pulumi.core.Output<WebAclRuleActionArgs>> action()
- Returns:
- Action that AWS WAF should take on a web request when it matches the rule's statement. This is used only for rules whose **statements do not reference a rule group**. See `action` for details.
-
captchaConfig
public java.util.Optional<com.pulumi.core.Output<WebAclRuleCaptchaConfigArgs>> captchaConfig()
- Returns:
- Configuration for how AWS WAF handles CAPTCHA evaluations. See `captchaConfig` below for details.
-
challengeConfig
public java.util.Optional<com.pulumi.core.Output<WebAclRuleChallengeConfigArgs>> challengeConfig()
- Returns:
- Configuration for how AWS WAF handles Challenge evaluations at the rule level. See `challengeConfig` below for details.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Friendly name of the rule. Note that the provider assumes that rules with names matching this pattern, `^ShieldMitigationRuleGroup_<account-id>_<web-acl-guid>_.*`, are AWS-added for [automatic application layer DDoS mitigation activities](https://docs.aws.amazon.com/waf/latest/developerguide/ddos-automatic-app-layer-response-rg.html). Such rules will be ignored by the provider unless you explicitly include them in your configuration (for example, by using the AWS CLI to discover their properties and creating matching configuration). However, since these rules are owned and managed by AWS, you may get permission errors.
-
overrideAction
public java.util.Optional<com.pulumi.core.Output<WebAclRuleOverrideActionArgs>> overrideAction()
- Returns:
- Override action to apply to the rules in a rule group. Used only for rule **statements that reference a rule group**, like `ruleGroupReferenceStatement` and `managedRuleGroupStatement`. See `overrideAction` below for details.
-
priority
public com.pulumi.core.Output<java.lang.Integer> priority()
- Returns:
- If you define more than one Rule in a WebACL, AWS WAF evaluates each request against the `rules` in order based on the value of `priority`. AWS WAF processes rules with lower priority first.
-
ruleLabels
public java.util.Optional<com.pulumi.core.Output<java.util.List<WebAclRuleRuleLabelArgs>>> ruleLabels()
- Returns:
- Labels to apply to web requests that match the rule match statement. See `ruleLabel` below for details.
-
statement
public com.pulumi.core.Output<WebAclRuleStatementArgs> statement()
- Returns:
- AWS WAF processing statement for the rule, for example `byteMatchStatement` or `geoMatchStatement`. See `statement` below for details.
-
visibilityConfig
public com.pulumi.core.Output<WebAclRuleVisibilityConfigArgs> visibilityConfig()
- Returns:
- Amazon CloudWatch metrics and web request sample collection configuration. See `visibilityConfig` below for details.
-
builder
public static WebAclRuleArgs.Builder builder()
-
builder
public static WebAclRuleArgs.Builder builder(WebAclRuleArgs defaults)
-
-