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< ? predicates, required Input<RateBasedRulePredicate> ?>String> rateKey, required Input<int> rateLimit, Input<Map< ? tags})String, String> ?> -
Creates a new RateBasedRuleArgs.
metricNameThe name or description for the Amazon CloudWatch metric of this rule.nameThe name or description of the rule.predicatesThe objects to include in a rule (documented below).rateKeyValid value is IP.rateLimitThe 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.tagsKey-value map of resource tags. .If configured with a providerdefaultTagsconfiguration 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
-
Key-value map of resource tags. .If configured with a provider
defaultTagsconfiguration 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