RuleArgs constructor

const RuleArgs({
  1. required Input<String> metricName,
  2. Input<String?>? name,
  3. Input<List<RulePredicate>?>? predicates,
  4. Input<Map<String, String>?>? tags,
})

Creates a new RuleArgs. metricName The name or description for the Amazon CloudWatch metric of this rule. The name can contain only alphanumeric characters (A-Z, a-z, 0-9); the name can't contain whitespace. name The name or description of the rule. predicates The objects to include in a rule (documented below). 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 RuleArgs({
  required this.metricName,
  this.name,
  this.predicates,
  this.tags,
});