RuleGroupRule

data class RuleGroupRule(val action: RuleGroupRuleAction, val captchaConfig: RuleGroupRuleCaptchaConfig? = null, val name: String, val priority: Int, val ruleLabels: List<RuleGroupRuleRuleLabel>? = null, val statement: RuleGroupRuleStatement, val visibilityConfig: RuleGroupRuleVisibilityConfig)

Constructors

Link copied to clipboard
constructor(action: RuleGroupRuleAction, captchaConfig: RuleGroupRuleCaptchaConfig? = null, name: String, priority: Int, ruleLabels: List<RuleGroupRuleRuleLabel>? = null, statement: RuleGroupRuleStatement, visibilityConfig: RuleGroupRuleVisibilityConfig)

Types

Link copied to clipboard
object Companion

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

A friendly name of the rule.

Link copied to clipboard

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.