You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing InstanceResizePolicy as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#instance_termination_timeoutInteger

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

Returns:

  • (Integer)

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

#instances_to_protectArray<String>

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

Returns:

  • (Array<String>)

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

#instances_to_terminateArray<String>

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

Returns:

  • (Array<String>)

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