AutomationRuleV2Args constructor

const AutomationRuleV2Args({
  1. required Input<AutomationRuleV2Action> action,
  2. required Input<AutomationRuleV2Criteria> criteria,
  3. required Input<String> description,
  4. Input<String?>? region,
  5. required Input<String> ruleName,
  6. required Input<double> ruleOrder,
  7. Input<String?>? ruleStatus,
  8. Input<Map<String, String>?>? tags,
})

Creates a new AutomationRuleV2Args. action Actions to take when the rule matches. Maximum of 1 action block. See action below. criteria Filtering type and configuration of the automation rule. See criteria below. description A description of the automation rule. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. ruleName The name of the automation rule. ruleOrder The priority of the rule. Lower values indicate higher priority. ruleStatus The status of the rule. Valid values: ENABLED, DISABLED. Defaults to ENABLED. tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Implementation

const AutomationRuleV2Args({
  required this.action,
  required this.criteria,
  required this.description,
  this.region,
  required this.ruleName,
  required this.ruleOrder,
  this.ruleStatus,
  this.tags,
});