RuleGroupRuleArgs

data class RuleGroupRuleArgs(val action: Output<RuleGroupRuleActionArgs>, val captchaConfig: Output<RuleGroupRuleCaptchaConfigArgs>? = null, val name: Output<String>, val priority: Output<Int>, val ruleLabels: Output<List<RuleGroupRuleRuleLabelArgs>>? = null, val statement: Output<RuleGroupRuleStatementArgs>, val visibilityConfig: Output<RuleGroupRuleVisibilityConfigArgs>) : ConvertibleToJava<RuleGroupRuleArgs>

Constructors

Link copied to clipboard
constructor(action: Output<RuleGroupRuleActionArgs>, captchaConfig: Output<RuleGroupRuleCaptchaConfigArgs>? = null, name: Output<String>, priority: Output<Int>, ruleLabels: Output<List<RuleGroupRuleRuleLabelArgs>>? = null, statement: Output<RuleGroupRuleStatementArgs>, visibilityConfig: Output<RuleGroupRuleVisibilityConfigArgs>)

Properties

Link copied to clipboard

The 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.

Link copied to clipboard

Specifies how AWS WAF should handle CAPTCHA evaluations. See Captcha Configuration below for details.

Link copied to clipboard
val name: Output<String>

A friendly name of the rule.

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.

Link copied to clipboard

Labels to apply to web requests that match the rule match statement. See Rule Label below for details.

Link copied to clipboard

The AWS WAF processing statement for the rule, for example byte_match_statement or geo_match_statement. See Statement below for details.

Link copied to clipboard

Defines and enables Amazon CloudWatch metrics and web request sample collection. See Visibility Configuration below for details.

Functions

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