RateBasedRuleArgs class

The set of arguments for RateBasedRule. The set of arguments for RateBasedRule.

Constructors

RateBasedRuleArgs({required Input<String> metricName, Input<String?>? name, Input<List<RateBasedRulePredicate>?>? predicates, required Input<String> rateKey, required Input<int> rateLimit, Input<Map<String, String>?>? tags})
Creates a new RateBasedRuleArgs. metricName The name or description for the Amazon CloudWatch metric of this rule. name The name or description of the rule. predicates The objects to include in a rule (documented below). rateKey Valid value is IP. rateLimit The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. Minimum value is 100. tags Key-value map of resource tags. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
const
RateBasedRuleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
metricName → Input<String>
The name or description for the Amazon CloudWatch metric of this rule.
final
name → Input<String?>?
The name or description of the rule.
final
predicates → Input<List<RateBasedRulePredicate>?>?
The objects to include in a rule (documented below).
final
rateKey → Input<String>
Valid value is IP.
final
rateLimit → Input<int>
The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a five-minute period. Minimum value is 100.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Key-value map of resource tags. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
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