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

Public Property BidPrice System.String

Gets and sets the property BidPrice.

The bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed 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 EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).

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 EC2 instance type for all instances in the instance group.

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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms