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

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

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

Overview

Note:

When passing ModifyInstanceGroupsInput as input to an Aws::Client method, you can use a vanilla 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,
        },
      },
      configurations: [
        {
          classification: "String",
          configurations: {
            # recursive ConfigurationList
          },
          properties: {
            "String" => "String",
          },
        },
      ],
    },
  ],
}

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)

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

#instance_groupsArray<Types::InstanceGroupModifyConfig>

Instance groups to change.

Returns: