Class: Aws::EMR::Types::InstanceGroupModifyConfig

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

Overview

Modify the size or configurations of an instance group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#configurationsArray<Types::Configuration>

A list of new or modified configurations to apply for an instance group.

Returns:



2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2814

class InstanceGroupModifyConfig < Struct.new(
  :instance_group_id,
  :instance_count,
  :ec2_instance_ids_to_terminate,
  :shrink_policy,
  :reconfiguration_type,
  :configurations)
  SENSITIVE = []
  include Aws::Structure
end

#ec2_instance_ids_to_terminateArray<String>

The EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.

Returns:

  • (Array<String>)


2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2814

class InstanceGroupModifyConfig < Struct.new(
  :instance_group_id,
  :instance_count,
  :ec2_instance_ids_to_terminate,
  :shrink_policy,
  :reconfiguration_type,
  :configurations)
  SENSITIVE = []
  include Aws::Structure
end

#instance_countInteger

Target size for the instance group.

Returns:

  • (Integer)


2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2814

class InstanceGroupModifyConfig < Struct.new(
  :instance_group_id,
  :instance_count,
  :ec2_instance_ids_to_terminate,
  :shrink_policy,
  :reconfiguration_type,
  :configurations)
  SENSITIVE = []
  include Aws::Structure
end

#instance_group_idString

Unique ID of the instance group to modify.

Returns:

  • (String)


2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2814

class InstanceGroupModifyConfig < Struct.new(
  :instance_group_id,
  :instance_count,
  :ec2_instance_ids_to_terminate,
  :shrink_policy,
  :reconfiguration_type,
  :configurations)
  SENSITIVE = []
  include Aws::Structure
end

#reconfiguration_typeString

Type of reconfiguration requested. Valid values are MERGE and OVERWRITE.

Returns:

  • (String)


2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2814

class InstanceGroupModifyConfig < Struct.new(
  :instance_group_id,
  :instance_count,
  :ec2_instance_ids_to_terminate,
  :shrink_policy,
  :reconfiguration_type,
  :configurations)
  SENSITIVE = []
  include Aws::Structure
end

#shrink_policyTypes::ShrinkPolicy

Policy for customizing shrink operations.

Returns:



2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 2814

class InstanceGroupModifyConfig < Struct.new(
  :instance_group_id,
  :instance_count,
  :ec2_instance_ids_to_terminate,
  :shrink_policy,
  :reconfiguration_type,
  :configurations)
  SENSITIVE = []
  include Aws::Structure
end