RateBasedRuleArgs constructor
const
RateBasedRuleArgs({})
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.
Implementation
const RateBasedRuleArgs({
required this.metricName,
this.name,
this.predicates,
required this.rateKey,
required this.rateLimit,
this.tags,
});