RateBasedRuleArgs constructor

const RateBasedRuleArgs({
  1. required Input<String> metricName,
  2. Input<String?>? name,
  3. Input<List<RateBasedRulePredicate>?>? predicates,
  4. required Input<String> rateKey,
  5. required Input<int> rateLimit,
  6. 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.

Implementation

const RateBasedRuleArgs({
  required this.metricName,
  this.name,
  this.predicates,
  required this.rateKey,
  required this.rateLimit,
  this.tags,
});