Package com.pulumi.aws.wafv2.inputs
Class RuleGroupRuleArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.wafv2.inputs.RuleGroupRuleArgs.Builder
-
- Enclosing class:
- RuleGroupRuleArgs
public static final class RuleGroupRuleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RuleGroupRuleArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RuleGroupRuleArgs defaults)
-
-
Method Detail
-
action
public RuleGroupRuleArgs.Builder action(com.pulumi.core.Output<RuleGroupRuleActionArgs> action)
- Parameters:
action- Action that AWS WAF should take on a web request when it matches the rule's statement. Settings at the `aws.wafv2.WebAcl` level can override the rule action setting. See Action below for details.- Returns:
- builder
-
action
public RuleGroupRuleArgs.Builder action(RuleGroupRuleActionArgs action)
- Parameters:
action- Action that AWS WAF should take on a web request when it matches the rule's statement. Settings at the `aws.wafv2.WebAcl` level can override the rule action setting. See Action below for details.- Returns:
- builder
-
captchaConfig
public RuleGroupRuleArgs.Builder captchaConfig(@Nullable com.pulumi.core.Output<RuleGroupRuleCaptchaConfigArgs> captchaConfig)
- Parameters:
captchaConfig- Configuration for how AWS WAF handles CAPTCHA evaluations. See Captcha Configuration below for details.- Returns:
- builder
-
captchaConfig
public RuleGroupRuleArgs.Builder captchaConfig(RuleGroupRuleCaptchaConfigArgs captchaConfig)
- Parameters:
captchaConfig- Configuration for how AWS WAF handles CAPTCHA evaluations. See Captcha Configuration below for details.- Returns:
- builder
-
name
public RuleGroupRuleArgs.Builder name(com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Friendly name of the rule.- Returns:
- builder
-
name
public RuleGroupRuleArgs.Builder name(java.lang.String name)
- Parameters:
name- Friendly name of the rule.- Returns:
- builder
-
priority
public RuleGroupRuleArgs.Builder priority(com.pulumi.core.Output<java.lang.Integer> priority)
- Parameters:
priority- 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.- Returns:
- builder
-
priority
public RuleGroupRuleArgs.Builder priority(java.lang.Integer priority)
- Parameters:
priority- 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.- Returns:
- builder
-
ruleLabels
public RuleGroupRuleArgs.Builder ruleLabels(@Nullable com.pulumi.core.Output<java.util.List<RuleGroupRuleRuleLabelArgs>> ruleLabels)
- Parameters:
ruleLabels- Labels to apply to web requests that match the rule match statement. See Rule Label below for details.- Returns:
- builder
-
ruleLabels
public RuleGroupRuleArgs.Builder ruleLabels(java.util.List<RuleGroupRuleRuleLabelArgs> ruleLabels)
- Parameters:
ruleLabels- Labels to apply to web requests that match the rule match statement. See Rule Label below for details.- Returns:
- builder
-
ruleLabels
public RuleGroupRuleArgs.Builder ruleLabels(RuleGroupRuleRuleLabelArgs... ruleLabels)
- Parameters:
ruleLabels- Labels to apply to web requests that match the rule match statement. See Rule Label below for details.- Returns:
- builder
-
statement
public RuleGroupRuleArgs.Builder statement(com.pulumi.core.Output<RuleGroupRuleStatementArgs> statement)
- Parameters:
statement- AWS WAF processing statement for the rule, for example `byteMatchStatement` or `geoMatchStatement`. See Statement below for details.- Returns:
- builder
-
statement
public RuleGroupRuleArgs.Builder statement(RuleGroupRuleStatementArgs statement)
- Parameters:
statement- AWS WAF processing statement for the rule, for example `byteMatchStatement` or `geoMatchStatement`. See Statement below for details.- Returns:
- builder
-
visibilityConfig
public RuleGroupRuleArgs.Builder visibilityConfig(com.pulumi.core.Output<RuleGroupRuleVisibilityConfigArgs> visibilityConfig)
- Parameters:
visibilityConfig- Amazon CloudWatch metrics and web request sample collection configuration. See Visibility Configuration below for details.- Returns:
- builder
-
visibilityConfig
public RuleGroupRuleArgs.Builder visibilityConfig(RuleGroupRuleVisibilityConfigArgs visibilityConfig)
- Parameters:
visibilityConfig- Amazon CloudWatch metrics and web request sample collection configuration. See Visibility Configuration below for details.- Returns:
- builder
-
build
public RuleGroupRuleArgs build()
-
-