Class: Aws::EMR::Types::ShrinkPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb

Overview

Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#decommission_timeoutInteger

The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.

Returns:

  • (Integer)


6045
6046
6047
6048
6049
6050
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6045

class ShrinkPolicy < Struct.new(
  :decommission_timeout,
  :instance_resize_policy)
  SENSITIVE = []
  include Aws::Structure
end

#instance_resize_policyTypes::InstanceResizePolicy

Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.



6045
6046
6047
6048
6049
6050
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 6045

class ShrinkPolicy < Struct.new(
  :decommission_timeout,
  :instance_resize_policy)
  SENSITIVE = []
  include Aws::Structure
end