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

Class: Aws::EMR::Types::InstanceGroup

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

Overview

This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_policyTypes::AutoScalingPolicyDescription

An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Returns:

#bid_priceString

The bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

Returns:

  • (String)

    The bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

#configurationsArray<Types::Configuration>

Amazon EMR releases 4.x or later.

The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

Returns:

#ebs_block_devicesArray<Types::EbsBlockDevice>

The EBS block devices that are mapped to this instance group.

Returns:

#ebs_optimizedBoolean

If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.

Returns:

  • (Boolean)

    If the instance group is EBS-optimized.

#idString

The identifier of the instance group.

Returns:

  • (String)

    The identifier of the instance group.

#instance_group_typeString

The type of the instance group. Valid values are MASTER, CORE or TASK.

Possible values:

  • MASTER
  • CORE
  • TASK

Returns:

  • (String)

    The type of the instance group.

#instance_typeString

The EC2 instance type for all instances in the instance group.

Returns:

  • (String)

    The EC2 instance type for all instances in the instance group.

#marketString

The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.

Possible values:

  • ON_DEMAND
  • SPOT

Returns:

  • (String)

    The marketplace to provision instances for this group.

#nameString

The name of the instance group.

Returns:

  • (String)

    The name of the instance group.

#requested_instance_countInteger

The target number of instances for the instance group.

Returns:

  • (Integer)

    The target number of instances for the instance group.

#running_instance_countInteger

The number of instances currently running in this instance group.

Returns:

  • (Integer)

    The number of instances currently running in this instance group.

#shrink_policyTypes::ShrinkPolicy

Policy for customizing shrink operations.

Returns:

#statusTypes::InstanceGroupStatus

The current status of the instance group.

Returns: