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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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.
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 558 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 |