Class: Aws::EMR::Types::InstanceResizePolicy

Inherits:
Struct
  • Object
show all
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 Attribute Details

#instance_termination_timeoutInteger

Decommissioning timeout override for the specific list of instances to be terminated.

Returns:

  • (Integer)


3425
3426
3427
3428
3429
3430
3431
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3425

class InstanceResizePolicy < Struct.new(
  :instances_to_terminate,
  :instances_to_protect,
  :instance_termination_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#instances_to_protectArray<String>

Specific list of instances to be protected when shrinking an instance group.

Returns:

  • (Array<String>)


3425
3426
3427
3428
3429
3430
3431
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3425

class InstanceResizePolicy < Struct.new(
  :instances_to_terminate,
  :instances_to_protect,
  :instance_termination_timeout)
  SENSITIVE = []
  include Aws::Structure
end

#instances_to_terminateArray<String>

Specific list of instances to be terminated when shrinking an instance group.

Returns:

  • (Array<String>)


3425
3426
3427
3428
3429
3430
3431
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3425

class InstanceResizePolicy < Struct.new(
  :instances_to_terminate,
  :instances_to_protect,
  :instance_termination_timeout)
  SENSITIVE = []
  include Aws::Structure
end