CreateAutomationRuleResponse
¶
Source code in docs_src/capo_compute_optimizer_automation/types/create_automation_rule_response.py
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. Can be up to 1024 characters long and contain alphanumeric characters, underscores, hyphens, spaces, and certain special characters.
name
instance-attribute
¶
name: NotRequired[RuleName]
The name of the automation rule. Must be 1-128 characters long and contain only alphanumeric characters, underscores, and hyphens.
organization_configuration
instance-attribute
¶
organization_configuration: NotRequired[OrganizationConfiguration]
Configuration settings for organization-wide rules, including rule application order and target account IDs.
priority
instance-attribute
¶
priority: NotRequired[str]
The priority level of the automation rule, used to determine execution order when multiple rules apply to the same resource.
recommended_action_types
instance-attribute
¶
recommended_action_types: NotRequired[RecommendedActionTypeList]
List of recommended action types that this rule can execute, such as SnapshotAndDeleteUnattachedEbsVolume or UpgradeEbsVolumeType.
rule_arn
instance-attribute
¶
rule_arn: NotRequired[RuleArn]
The Amazon Resource Name (ARN) of the created rule.
rule_id
instance-attribute
¶
rule_id: NotRequired[RuleId]
The unique identifier of the created rule.
rule_revision
instance-attribute
¶
rule_revision: NotRequired[int]
The revision number of the automation rule. This is incremented each time the rule is updated.
rule_type
instance-attribute
¶
rule_type: NotRequired[RuleType]
The type of automation rule. Can be either OrganizationRule for organization-wide rules or AccountRule for account-specific rules.
schedule
instance-attribute
¶
schedule: NotRequired[Schedule]
The schedule configuration for when the automation rule should execute, including cron expression, timezone, and execution window.
status
instance-attribute
¶
status: NotRequired[RuleStatus]
The current status of the automation rule. Can be Active or Inactive.