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.

Configuration defining a new instance group.

Inheritance Hierarchy

System.Object
  Amazon.ElasticMapReduce.Model.InstanceGroupConfig

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

Syntax

C#
public class InstanceGroupConfig

The InstanceGroupConfig type exposes the following members

Constructors

NameDescription
Public Method InstanceGroupConfig()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method InstanceGroupConfig(InstanceRoleType, string, int)

Instantiates InstanceGroupConfig with the parameterized properties

Properties

NameTypeDescription
Public Property AutoScalingPolicy Amazon.ElasticMapReduce.Model.AutoScalingPolicy

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 CustomAmiId System.String

Gets and sets the property CustomAmiId.

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

Public Property EbsConfiguration Amazon.ElasticMapReduce.Model.EbsConfiguration

Gets and sets the property EbsConfiguration.

EBS configurations that will be attached to each Amazon EC2 instance in the instance group.

Public Property InstanceCount System.Int32

Gets and sets the property InstanceCount.

Target number of instances for the instance group.

Public Property InstanceRole Amazon.ElasticMapReduce.InstanceRoleType

Gets and sets the property InstanceRole.

The role of the instance group in the cluster.

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 Market Amazon.ElasticMapReduce.MarketType

Gets and sets the property Market.

Market type of the Amazon EC2 instances used to create a cluster node.

Public Property Name System.String

Gets and sets the property Name.

Friendly name given to 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