Class: Aws::ComputeOptimizerAutomation::Types::AutomationRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizerAutomation::Types::AutomationRule
- Defined in:
- gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb
Overview
Represents a complete automation rule configuration including criteria, schedule, and execution settings.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The 12-digit Amazon Web Services account ID that owns this automation rule.
-
#created_timestamp ⇒ Time
The timestamp when the automation rule was created.
-
#description ⇒ String
A description of the automation rule.
-
#last_updated_timestamp ⇒ Time
The timestamp when the automation rule was last updated.
-
#name ⇒ String
The name of the automation rule.
-
#organization_configuration ⇒ Types::OrganizationConfiguration
Configuration settings for organization-wide rules.
-
#priority ⇒ String
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.
-
#recommended_action_types ⇒ Array<String>
List of recommended action types that this rule can execute.
-
#rule_arn ⇒ String
The Amazon Resource Name (ARN) of the automation rule.
-
#rule_id ⇒ String
The unique identifier of the automation rule.
-
#rule_revision ⇒ Integer
The revision number of the automation rule.
-
#rule_type ⇒ String
The type of automation rule (OrganizationRule or AccountRule).
-
#schedule ⇒ Types::Schedule
The schedule configuration for when the automation rule should execute.
-
#status ⇒ String
The current status of the automation rule (Active or Inactive).
Instance Attribute Details
#account_id ⇒ String
The 12-digit Amazon Web Services account ID that owns this automation rule.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#created_timestamp ⇒ Time
The timestamp when the automation rule was created.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of the automation rule.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#last_updated_timestamp ⇒ Time
The timestamp when the automation rule was last updated.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the automation rule.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#organization_configuration ⇒ Types::OrganizationConfiguration
Configuration settings for organization-wide rules.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#priority ⇒ String
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.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#recommended_action_types ⇒ Array<String>
List of recommended action types that this rule can execute.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#rule_arn ⇒ String
The Amazon Resource Name (ARN) of the automation rule.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#rule_id ⇒ String
The unique identifier of the automation rule.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#rule_revision ⇒ Integer
The revision number of the automation rule.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#rule_type ⇒ String
The type of automation rule (OrganizationRule or AccountRule).
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#schedule ⇒ Types::Schedule
The schedule configuration for when the automation rule should execute.
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The current status of the automation rule (Active or Inactive).
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 358 class AutomationRule < Struct.new( :rule_arn, :rule_id, :name, :description, :rule_type, :rule_revision, :account_id, :organization_configuration, :priority, :recommended_action_types, :schedule, :status, :created_timestamp, :last_updated_timestamp) SENSITIVE = [] include Aws::Structure end |