Class: Aws::ComputeOptimizerAutomation::Types::CreateAutomationRuleResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizerAutomation::Types::CreateAutomationRuleResponse
- Defined in:
- gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#created_timestamp ⇒ Time
The timestamp when the automation rule was created.
-
#criteria ⇒ Types::Criteria
A set of conditions that specify which recommended action qualify for implementation.
-
#description ⇒ String
A description of the automation rule.
-
#name ⇒ String
The name of the automation rule.
-
#organization_configuration ⇒ Types::OrganizationConfiguration
Configuration settings for organization-wide rules, including rule application order and target account IDs.
-
#priority ⇒ String
The priority level of the automation rule, used to determine execution order when multiple rules apply to the same resource.
-
#recommended_action_types ⇒ Array<String>
List of recommended action types that this rule can execute, such as SnapshotAndDeleteUnattachedEbsVolume or UpgradeEbsVolumeType.
-
#rule_arn ⇒ String
The Amazon Resource Name (ARN) of the created rule.
-
#rule_id ⇒ String
The unique identifier of the created rule.
-
#rule_revision ⇒ Integer
The revision number of the automation rule.
-
#rule_type ⇒ String
The type of automation rule.
-
#schedule ⇒ Types::Schedule
The schedule configuration for when the automation rule should execute, including cron expression, timezone, and execution window.
-
#status ⇒ String
The current status of the automation rule.
-
#tags ⇒ Array<Types::Tag>
A list of key-value pairs used to categorize and organize the automation rule.
Instance Attribute Details
#created_timestamp ⇒ Time
The timestamp when the automation rule was created.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#criteria ⇒ Types::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. You can specify up to 20 conditions per filter criteria and 20 values per condition.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of the automation rule. Can be up to 1024 characters long and contain alphanumeric characters, underscores, hyphens, spaces, and certain special characters.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the automation rule. Must be 1-128 characters long and contain only alphanumeric characters, underscores, and hyphens.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#organization_configuration ⇒ Types::OrganizationConfiguration
Configuration settings for organization-wide rules, including rule application order and target account IDs.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#priority ⇒ String
The priority level of the automation rule, used to determine execution order when multiple rules apply to the same resource.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#recommended_action_types ⇒ Array<String>
List of recommended action types that this rule can execute, such as SnapshotAndDeleteUnattachedEbsVolume or UpgradeEbsVolumeType.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#rule_arn ⇒ String
The Amazon Resource Name (ARN) of the created rule.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#rule_id ⇒ String
The unique identifier of the created rule.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#rule_revision ⇒ Integer
The revision number of the automation rule. This is incremented each time the rule is updated.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#rule_type ⇒ String
The type of automation rule. Can be either OrganizationRule for organization-wide rules or AccountRule for account-specific rules.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#schedule ⇒ Types::Schedule
The schedule configuration for when the automation rule should execute, including cron expression, timezone, and execution window.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The current status of the automation rule. Can be Active or Inactive.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of key-value pairs used to categorize and organize the automation rule. Maximum of 200 tags allowed.
529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 529 class CreateAutomationRuleResponse < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :created_timestamp) SENSITIVE = [] include Aws::Structure end |