Class: Aws::ComputeOptimizerAutomation::Types::CreateAutomationRuleRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ComputeOptimizerAutomation::Types::CreateAutomationRuleRequest
- Defined in:
- gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A unique identifier to ensure idempotency of the request.
-
#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 for organization-level 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>
The types of recommended actions this rule will automate.
-
#rule_type ⇒ String
The type of rule.
-
#schedule ⇒ Types::Schedule
The schedule for when the rule should run.
-
#status ⇒ String
The status of the rule.
-
#tags ⇒ Array<Types::Tag>
The tags to associate with the rule.
Instance Attribute Details
#client_token ⇒ String
A unique identifier to ensure idempotency of the request.
A suitable default value is auto-generated. You should normally not need to pass this option.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) 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.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of the automation rule.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the automation rule.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#organization_configuration ⇒ Types::OrganizationConfiguration
Configuration for organization-level rules. Required for OrganizationRule type.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) 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.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#recommended_action_types ⇒ Array<String>
The types of recommended actions this rule will automate.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#rule_type ⇒ String
The type of rule.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#schedule ⇒ Types::Schedule
The schedule for when the rule should run.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The status of the rule
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tags to associate with the rule.
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 |
# File 'gems/aws-sdk-computeoptimizerautomation/lib/aws-sdk-computeoptimizerautomation/types.rb', line 440 class CreateAutomationRuleRequest < Struct.new( :name, :description, :rule_type, :organization_configuration, :priority, :recommended_action_types, :criteria, :schedule, :status, :tags, :client_token) SENSITIVE = [] include Aws::Structure end |