RuleGroupRule class

Constructors

RuleGroupRule({required Input<RuleGroupRuleAction> action, Input<RuleGroupRuleCaptchaConfig?>? captchaConfig, required Input<String> name, required Input<int> priority, Input<List<RuleGroupRuleRuleLabel>?>? ruleLabels, required Input<RuleGroupRuleStatement> statement, required Input<RuleGroupRuleVisibilityConfig> visibilityConfig})
Creates a new RuleGroupRule. action 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. captchaConfig Specifies how AWS WAF should handle CAPTCHA evaluations. See Captcha Configuration below for details. name A friendly name of the rule. 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. ruleLabels Labels to apply to web requests that match the rule match statement. See Rule Label below for details. statement The AWS WAF processing statement for the rule, for example byteMatchStatement or geoMatchStatement. See Statement below for details. visibilityConfig Defines and enables Amazon CloudWatch metrics and web request sample collection. See Visibility Configuration below for details.
const
RuleGroupRule.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<RuleGroupRuleAction>
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.
final
captchaConfig → Input<RuleGroupRuleCaptchaConfig?>?
Specifies how AWS WAF should handle CAPTCHA evaluations. See Captcha Configuration below for details.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
A friendly name of the rule.
final
priority → Input<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.
final
ruleLabels → Input<List<RuleGroupRuleRuleLabel>?>?
Labels to apply to web requests that match the rule match statement. See Rule Label below for details.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statement → Input<RuleGroupRuleStatement>
The AWS WAF processing statement for the rule, for example byteMatchStatement or geoMatchStatement. See Statement below for details.
final
visibilityConfig → Input<RuleGroupRuleVisibilityConfig>
Defines and enables Amazon CloudWatch metrics and web request sample collection. See Visibility Configuration below for details.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited