RuleGroupRuleArgs

data class RuleGroupRuleArgs(val action: Output<RuleGroupRuleActionArgs>? = null, val captchaConfig: Output<RuleGroupCaptchaConfigArgs>? = null, val challengeConfig: Output<RuleGroupChallengeConfigArgs>? = null, val name: Output<String>, val priority: Output<Int>, val ruleLabels: Output<List<RuleGroupLabelArgs>>? = null, val statement: Output<RuleGroupStatementArgs>, val visibilityConfig: Output<RuleGroupVisibilityConfigArgs>) : ConvertibleToJava<RuleGroupRuleArgs>

Rule of RuleGroup that contains condition and action.

Constructors

Link copied to clipboard
constructor(action: Output<RuleGroupRuleActionArgs>? = null, captchaConfig: Output<RuleGroupCaptchaConfigArgs>? = null, challengeConfig: Output<RuleGroupChallengeConfigArgs>? = null, name: Output<String>, priority: Output<Int>, ruleLabels: Output<List<RuleGroupLabelArgs>>? = null, statement: Output<RuleGroupStatementArgs>, visibilityConfig: Output<RuleGroupVisibilityConfigArgs>)

Properties

Link copied to clipboard
val action: Output<RuleGroupRuleActionArgs>? = null

The action that AWS WAF should take on a web request when it matches the rule statement. Settings at the web ACL level can override the rule action setting.

Link copied to clipboard

Specifies how AWS WAF should handle CAPTCHA evaluations. If you don't specify this, AWS WAF uses the CAPTCHA configuration that's defined for the web ACL.

Link copied to clipboard

Specifies how AWS WAF should handle Challenge evaluations. If you don't specify this, AWS WAF uses the challenge configuration that's defined for the web ACL.

Link copied to clipboard
val name: Output<String>

The name of the rule. If you change the name of a Rule after you create it and you want the rule's metric name to reflect the change, update the metric name in the rule's VisibilityConfig settings. AWS WAF doesn't automatically update the metric name when you update the rule name.

Link copied to clipboard
val priority: Output<Int>

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. The priorities don't need to be consecutive, but they must all be different.

Link copied to clipboard
val ruleLabels: Output<List<RuleGroupLabelArgs>>? = null

Collection of Rule Labels.

Link copied to clipboard

The AWS WAF processing statement for the rule, for example ByteMatchStatement or SizeConstraintStatement .

Link copied to clipboard

Defines and enables Amazon CloudWatch metrics and web request sample collection. If you change the name of a Rule after you create it and you want the rule's metric name to reflect the change, update the metric name as well. AWS WAF doesn't automatically update the metric name.

Functions

Link copied to clipboard
open override fun toJava(): RuleGroupRuleArgs