CreateAutomationRuleRequest
¶
Source code in docs_src/capo_compute_optimizer_automation/types/create_automation_rule_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique identifier to ensure idempotency of the request.
criteria
instance-attribute
¶
criteria: NotRequired[Criteria]
A set of conditions that specify which recommended action qualify for implementation. When a rule is active and a recommended action matches these criteria, Compute Optimizer implements the action at the scheduled run time.
description
instance-attribute
¶
description: NotRequired[RuleDescription]
A description of the automation rule.
organization_configuration
instance-attribute
¶
organization_configuration: NotRequired[OrganizationConfiguration]
Configuration for organization-level rules. Required for OrganizationRule type.
priority
instance-attribute
¶
priority: NotRequired[str]
A string representation of a decimal number between 0 and 1 (having up to 30 digits after the decimal point) that determines the priority of the rule. When multiple rules match the same recommended action, Compute Optimizer assigns the action to the rule with the lowest priority value (highest priority), even if that rule is scheduled to run later than other matching rules.
recommended_action_types
instance-attribute
¶
recommended_action_types: RecommendedActionTypeList
The types of recommended actions this rule will automate.