Class: Aws::EMR::Types::InstanceResizePolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::EMR::Types::InstanceResizePolicy
- Defined in:
- gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
Overview
Note:
When making an API call, you may pass InstanceResizePolicy data as a hash:
{
instances_to_terminate: ["InstanceId"],
instances_to_protect: ["InstanceId"],
instance_termination_timeout: 1,
}
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#instance_termination_timeout ⇒ Integer
Decommissioning timeout override for the specific list of instances to be terminated.
-
#instances_to_protect ⇒ Array<String>
Specific list of instances to be protected when shrinking an instance group.
-
#instances_to_terminate ⇒ Array<String>
Specific list of instances to be terminated when shrinking an instance group.
Instance Attribute Details
#instance_termination_timeout ⇒ Integer
Decommissioning timeout override for the specific list of instances to be terminated.
3645 3646 3647 3648 3649 3650 3651 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3645 class InstanceResizePolicy < Struct.new( :instances_to_terminate, :instances_to_protect, :instance_termination_timeout) SENSITIVE = [] include Aws::Structure end |
#instances_to_protect ⇒ Array<String>
Specific list of instances to be protected when shrinking an instance group.
3645 3646 3647 3648 3649 3650 3651 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3645 class InstanceResizePolicy < Struct.new( :instances_to_terminate, :instances_to_protect, :instance_termination_timeout) SENSITIVE = [] include Aws::Structure end |
#instances_to_terminate ⇒ Array<String>
Specific list of instances to be terminated when shrinking an instance group.
3645 3646 3647 3648 3649 3650 3651 |
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3645 class InstanceResizePolicy < Struct.new( :instances_to_terminate, :instances_to_protect, :instance_termination_timeout) SENSITIVE = [] include Aws::Structure end |