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. 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.
Namespace: Amazon.ElasticMapReduce.Model
Assembly: AWSSDK.ElasticMapReduce.dll
Version: 3.x.y.z
public class JobFlowInstancesConfig
The JobFlowInstancesConfig type exposes the following members
Name | Description | |
---|---|---|
JobFlowInstancesConfig() |
Empty constructor used to set properties independently even when a simple constructor is available |
Name | Type | Description | |
---|---|---|---|
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. |
|
AdditionalSlaveSecurityGroups | System.Collections.Generic.List<System.String> |
Gets and sets the property AdditionalSlaveSecurityGroups. A list of additional Amazon EC2 security group IDs for the core and task nodes. |
|
Ec2KeyName | System.String |
Gets and sets the property Ec2KeyName. The name of the Amazon EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop." |
|
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 and your account supports EC2-Classic, the cluster launches in EC2-Classic. |
|
Ec2SubnetIds | System.Collections.Generic.List<System.String> |
Gets and sets the property Ec2SubnetIds. Applies to clusters that use the instance fleet configuration. When multiple Amazon 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 releases 4.8.0 and later, excluding 5.0.x versions. |
|
EmrManagedMasterSecurityGroup | System.String |
Gets and sets the property EmrManagedMasterSecurityGroup.
The identifier of the Amazon EC2 security group for the master node. If you specify
|
|
EmrManagedSlaveSecurityGroup | System.String |
Gets and sets the property EmrManagedSlaveSecurityGroup.
The identifier of the Amazon EC2 security group for the core and task nodes. If you
specify |
|
HadoopVersion | System.String |
Gets and sets the property HadoopVersion.
Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop version for
the cluster. Valid inputs are "0.18" (no longer maintained), "0.20" (no longer maintained),
"0.20.205" (no longer maintained), "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 |
|
InstanceCount | System.Int32 |
Gets and sets the property InstanceCount. The number of Amazon EC2 instances in the cluster. |
|
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 releases 4.8.0 and
later, excluding 5.0.x versions.
Describes the Amazon EC2 instances and instance configurations for clusters that use the instance fleet configuration. |
|
InstanceGroups | System.Collections.Generic.List<Amazon.ElasticMapReduce.Model.InstanceGroupConfig> |
Gets and sets the property InstanceGroups. Configuration for the instance groups in a cluster. |
|
KeepJobFlowAliveWhenNoSteps | System.Boolean |
Gets and sets the property KeepJobFlowAliveWhenNoSteps.
Specifies whether the cluster should remain available after completing all steps.
Defaults to |
|
MasterInstanceType | System.String |
Gets and sets the property MasterInstanceType. The Amazon EC2 instance type of the master node. |
|
Placement | Amazon.ElasticMapReduce.Model.PlacementType |
Gets and sets the property Placement. The Availability Zone in which the cluster runs. |
|
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. |
|
SlaveInstanceType | System.String |
Gets and sets the property SlaveInstanceType. The Amazon EC2 instance type of the core and task nodes. |
|
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. |
|
UnhealthyNodeReplacement | System.Boolean |
Gets and sets the property UnhealthyNodeReplacement. Indicates whether Amazon EMR should gracefully replace core nodes that have degraded within the cluster. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5