WebAclRule class

Constructors

WebAclRule({Input<WebAclRuleAction?>? action, Input<WebAclRuleOverrideAction?>? overrideAction, required Input<int> priority, required Input<String> ruleId, Input<String?>? type})
Creates a new WebAclRule. action The action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if type is GROUP. overrideAction Override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if type is GROUP. priority Specifies the order in which the rules in a WebACL are evaluated. ruleId ID of the associated WAF (Global) rule (e.g., aws.waf.Rule). WAF (Regional) rules cannot be used. type The rule type, either REGULAR, as defined by Rule, RATE_BASED, as defined by RateBasedRule, or GROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to set type as RATE_BASED. If you add a GROUP rule, you need to set type as GROUP.
const
WebAclRule.fromMap(Map<String, dynamic> map)
factory

Properties

action → Input<WebAclRuleAction?>?
The action that CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Not used if type is GROUP.
final
hashCode → int
The hash code for this object.
no setterinherited
overrideAction → Input<WebAclRuleOverrideAction?>?
Override the action that a group requests CloudFront or AWS WAF takes when a web request matches the conditions in the rule. Only used if type is GROUP.
final
priority → Input<int>
Specifies the order in which the rules in a WebACL are evaluated. Rules with a lower value are evaluated before rules with a higher value.
final
ruleId → Input<String>
ID of the associated WAF (Global) rule (e.g., aws.waf.Rule). WAF (Regional) rules cannot be used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<String?>?
The rule type, either REGULAR, as defined by Rule, RATE_BASED, as defined by RateBasedRule, or GROUP, as defined by RuleGroup. The default is REGULAR. If you add a RATE_BASED rule, you need to set type as RATE_BASED. If you add a GROUP rule, you need to set type as GROUP.
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