InstanceGroup

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.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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 Amazon EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.

Link copied to clipboard

If specified, indicates that the instance group uses Spot Instances. This is the maximum price you are willing to pay for Spot Instances. Specify OnDemandPrice to set the amount equal to the On-Demand price, or specify an amount in USD.

Link copied to clipboard

Amazon EMR releases 4.x or later.

Link copied to clipboard

The version number of the requested configuration specification for this instance group.

Link copied to clipboard

The custom AMI ID to use for the provisioned instance group.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard
val id: String?

The identifier of the instance group.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

A list of configurations that were successfully applied for an instance group last time.

The version number of a configuration specification that was successfully applied for an instance group last time.

Link copied to clipboard

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

Link copied to clipboard
val name: String?

The name of the instance group.

Link copied to clipboard

The target number of instances for the instance group.

Link copied to clipboard

The number of instances currently running in this instance group.

Link copied to clipboard

Policy for customizing shrink operations.

Link copied to clipboard

The current status of the instance group.

Functions

Link copied to clipboard
inline fun copy(block: InstanceGroup.Builder.() -> Unit = {}): InstanceGroup
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String