AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.ElasticMapReduce.Model.InstanceGroup

Namespace: Amazon.ElasticMapReduce.Model
Assembly: AWSSDK.ElasticMapReduce.dll
Version: 3.x.y.z

Syntax

C#
public class InstanceGroup

The InstanceGroup type exposes the following members

Constructors

NameDescription
Public Method InstanceGroup()

Properties

NameTypeDescription
Public Property AutoScalingPolicy Amazon.ElasticMapReduce.Model.AutoScalingPolicyDescription

Gets and sets the property AutoScalingPolicy.

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.

Public Property BidPrice System.String

Gets and sets the property BidPrice.

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.

Public Property Configurations System.Collections.Generic.List<Amazon.ElasticMapReduce.Model.Configuration>

Gets and sets the property Configurations.

Amazon EMR releases 4.x or later.

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

Public Property ConfigurationsVersion System.Int64

Gets and sets the property ConfigurationsVersion.

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

Public Property CustomAmiId System.String

Gets and sets the property CustomAmiId.

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

Public Property EbsBlockDevices System.Collections.Generic.List<Amazon.ElasticMapReduce.Model.EbsBlockDevice>

Gets and sets the property EbsBlockDevices.

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

Public Property EbsOptimized System.Boolean

Gets and sets the property EbsOptimized.

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.

Public Property Id System.String

Gets and sets the property Id.

The identifier of the instance group.

Public Property InstanceGroupType Amazon.ElasticMapReduce.InstanceGroupType

Gets and sets the property InstanceGroupType.

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

Public Property InstanceType System.String

Gets and sets the property InstanceType.

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

Public Property LastSuccessfullyAppliedConfigurations System.Collections.Generic.List<Amazon.ElasticMapReduce.Model.Configuration>

Gets and sets the property LastSuccessfullyAppliedConfigurations.

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

Public Property LastSuccessfullyAppliedConfigurationsVersion System.Int64

Gets and sets the property LastSuccessfullyAppliedConfigurationsVersion.

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

Public Property Market Amazon.ElasticMapReduce.MarketType

Gets and sets the property Market.

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

Public Property Name System.String

Gets and sets the property Name.

The name of the instance group.

Public Property RequestedInstanceCount System.Int32

Gets and sets the property RequestedInstanceCount.

The target number of instances for the instance group.

Public Property RunningInstanceCount System.Int32

Gets and sets the property RunningInstanceCount.

The number of instances currently running in this instance group.

Public Property ShrinkPolicy Amazon.ElasticMapReduce.Model.ShrinkPolicy

Gets and sets the property ShrinkPolicy.

Policy for customizing shrink operations.

Public Property Status Amazon.ElasticMapReduce.Model.InstanceGroupStatus

Gets and sets the property Status.

The current status of the instance group.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5