AWS SDK Version 2 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.

.NET Framework 3.5
 
A description of the Amazon EC2 instance running the job flow. A valid JobFlowInstancesConfig must contain at least InstanceGroups, which is the recommended configuration. However, a valid alternative is to have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present).

Inheritance Hierarchy

System.Object
  Amazon.ElasticMapReduce.Model.JobFlowInstancesConfig

Namespace: Amazon.ElasticMapReduce.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class JobFlowInstancesConfig : Object

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 Amazon 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.

To launch the job flow in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal Amazon Web Services cloud, outside of an Amazon VPC.

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

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 job flow. 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 Amazon EC2 instances used to execute the job flow.

Public Property InstanceGroups System.Collections.Generic.List<Amazon.ElasticMapReduce.Model.InstanceGroupConfig> Gets and sets the property InstanceGroups.

Configuration for the job flow's instance groups.

Public Property KeepJobFlowAliveWhenNoSteps System.Boolean Gets and sets the property KeepJobFlowAliveWhenNoSteps.

Specifies whether the job flow should be kept alive 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 the job flow will run in.

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 job flow 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 Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8