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

Class: Aws::EMR::Types::ModifyInstanceGroupsInput

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 ModifyInstanceGroupsInput data as a hash:

{
  cluster_id: "ClusterId",
  instance_groups: [
    {
      instance_group_id: "XmlStringMaxLen256", # required
      instance_count: 1,
      ec2_instance_ids_to_terminate: ["InstanceId"],
      shrink_policy: {
        decommission_timeout: 1,
        instance_resize_policy: {
          instances_to_terminate: ["InstanceId"],
          instances_to_protect: ["InstanceId"],
          instance_termination_timeout: 1,
        },
      },
    },
  ],
}

Change the size of some instance groups.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_idString

The ID of the cluster to which the instance group belongs.

Returns:

  • (String)


3864
3865
3866
3867
3868
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3864

class ModifyInstanceGroupsInput < Struct.new(
  :cluster_id,
  :instance_groups)
  include Aws::Structure
end

#instance_groupsArray<Types::InstanceGroupModifyConfig>

Instance groups to change.



3864
3865
3866
3867
3868
# File 'gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb', line 3864

class ModifyInstanceGroupsInput < Struct.new(
  :cluster_id,
  :instance_groups)
  include Aws::Structure
end