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.

A description of the Amazon EC2 instance on which the cluster (job flow) runs. A valid JobFlowInstancesConfig must contain either InstanceGroups or InstanceFleets, which is the recommended configuration. They cannot be used together. You may also have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present), but we don't recommend this configuration.

Inheritance Hierarchy

System.Object
  Amazon.ElasticMapReduce.Model.JobFlowInstancesConfig

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

Syntax

C#
public class JobFlowInstancesConfig

The JobFlowInstancesConfig type exposes the following members

Constructors

NameDescription
Public Method JobFlowInstancesConfig()

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

Properties

NameTypeDescription
Public Property AdditionalMasterSecurityGroups System.Collections.Generic.List<System.String>

Gets and sets the property AdditionalMasterSecurityGroups.

A list of additional Amazon EC2 security group IDs for the master node.

Public Property AdditionalSlaveSecurityGroups System.Collections.Generic.List<System.String>

Gets and sets the property AdditionalSlaveSecurityGroups.

A list of additional Amazon EC2 security group IDs for the slave nodes.

Public Property Ec2KeyName System.String

Gets and sets the property Ec2KeyName.

The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."

Public Property Ec2SubnetId System.String

Gets and sets the property Ec2SubnetId.

Applies to clusters that use the uniform instance group configuration. To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value, the cluster launches in the normal Amazon Web Services cloud, outside of an Amazon VPC, if the account launching the cluster supports EC2 Classic networks in the region where the cluster launches.

Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC.

Public Property Ec2SubnetIds System.Collections.Generic.List<System.String>

Gets and sets the property Ec2SubnetIds.

Applies to clusters that use the instance fleet configuration. When multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

Public Property EmrManagedMasterSecurityGroup System.String

Gets and sets the property EmrManagedMasterSecurityGroup.

The identifier of the Amazon EC2 security group for the master node.

Public Property EmrManagedSlaveSecurityGroup System.String

Gets and sets the property EmrManagedSlaveSecurityGroup.

The identifier of the Amazon EC2 security group for the slave nodes.

Public Property HadoopVersion System.String

Gets and sets the property HadoopVersion.

The Hadoop version for the cluster. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205" (deprecated), "1.0.3", "2.2.0", or "2.4.0". If you do not set this value, the default of 0.18 is used, unless the AmiVersion parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.

Public Property InstanceCount System.Int32

Gets and sets the property InstanceCount.

The number of EC2 instances in the cluster.

Public Property InstanceFleets System.Collections.Generic.List<Amazon.ElasticMapReduce.Model.InstanceFleetConfig>

Gets and sets the property InstanceFleets.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.

Public Property InstanceGroups System.Collections.Generic.List<Amazon.ElasticMapReduce.Model.InstanceGroupConfig>

Gets and sets the property InstanceGroups.

Configuration for the instance groups in a cluster.

Public Property KeepJobFlowAliveWhenNoSteps System.Boolean

Gets and sets the property KeepJobFlowAliveWhenNoSteps.

Specifies whether the cluster should remain available after completing all steps.

Public Property MasterInstanceType System.String

Gets and sets the property MasterInstanceType.

The EC2 instance type of the master node.

Public Property Placement Amazon.ElasticMapReduce.Model.PlacementType

Gets and sets the property Placement.

The Availability Zone in which the cluster runs.

Public Property ServiceAccessSecurityGroup System.String

Gets and sets the property ServiceAccessSecurityGroup.

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

Public Property SlaveInstanceType System.String

Gets and sets the property SlaveInstanceType.

The EC2 instance type of the slave nodes.

Public Property TerminationProtected System.Boolean

Gets and sets the property TerminationProtected.

Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.

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