AutomationRuleV2Args class
The set of arguments for AutomationRuleV2. The set of arguments for AutomationRuleV2.
Constructors
-
AutomationRuleV2Args({required Input<
AutomationRuleV2Action> action, required Input<AutomationRuleV2Criteria> criteria, required Input<String> description, Input<String?> ? region, required Input<String> ruleName, required Input<double> ruleOrder, Input<String?> ? ruleStatus, Input<Map< ? tags})String, String> ?> -
Creates a new AutomationRuleV2Args.
actionActions to take when the rule matches. Maximum of 1 action block. Seeactionbelow.criteriaFiltering type and configuration of the automation rule. Seecriteriabelow.descriptionA description of the automation rule.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.ruleNameThe name of the automation rule.ruleOrderThe priority of the rule. Lower values indicate higher priority.ruleStatusThe status of the rule. Valid values:ENABLED,DISABLED. Defaults toENABLED.tagsMap of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.const -
AutomationRuleV2Args.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
action
→ Input<
AutomationRuleV2Action> -
Actions to take when the rule matches. Maximum of 1 action block. See
actionbelow.final -
criteria
→ Input<
AutomationRuleV2Criteria> -
Filtering type and configuration of the automation rule. See
criteriabelow.final -
description
→ Input<
String> -
A description of the automation rule.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
ruleName
→ Input<
String> -
The name of the automation rule.
final
-
ruleOrder
→ Input<
double> -
The priority of the rule. Lower values indicate higher priority.
final
-
ruleStatus
→ Input<
String?> ? -
The status of the rule. Valid values:
ENABLED,DISABLED. Defaults toENABLED.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Map of tags to assign to the resource. 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