AutomationRule
¶
Source code in docs_src/capo_compute_optimizer_automation/types/automation_rule.py
account_id
instance-attribute
¶
account_id: NotRequired[AccountId]
The 12-digit Amazon Web Services account ID that owns this automation rule.
created_timestamp
instance-attribute
¶
created_timestamp: NotRequired[datetime]
The timestamp when the automation rule was created.
description
instance-attribute
¶
description: NotRequired[str]
A description of the automation rule.
last_updated_timestamp
instance-attribute
¶
last_updated_timestamp: NotRequired[datetime]
The timestamp when the automation rule was last updated.
organization_configuration
instance-attribute
¶
organization_configuration: NotRequired[OrganizationConfiguration]
Configuration settings for organization-wide rules.
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: NotRequired[RecommendedActionTypeList]
List of recommended action types that this rule can execute.
rule_arn
instance-attribute
¶
rule_arn: NotRequired[RuleArn]
The Amazon Resource Name (ARN) of the automation rule.
rule_id
instance-attribute
¶
rule_id: NotRequired[RuleId]
The unique identifier of the automation rule.
rule_revision
instance-attribute
¶
rule_revision: NotRequired[int]
The revision number of the automation rule.
rule_type
instance-attribute
¶
rule_type: NotRequired[RuleType]
The type of automation rule (OrganizationRule or AccountRule).
schedule
instance-attribute
¶
schedule: NotRequired[Schedule]
The schedule configuration for when the automation rule should execute.
status
instance-attribute
¶
status: NotRequired[RuleStatus]
The current status of the automation rule (Active or Inactive).