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.

Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.

Inheritance Hierarchy

System.Object
  Amazon.ElasticMapReduce.Model.Ec2InstanceAttributes

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

Syntax

C#
public class Ec2InstanceAttributes

The Ec2InstanceAttributes type exposes the following members

Constructors

NameDescription
Public Method Ec2InstanceAttributes()

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

Gets and sets the property Ec2AvailabilityZone.

The Availability Zone in which the cluster will run.

Public Property Ec2KeyName System.String

Gets and sets the property Ec2KeyName.

The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as a user named "hadoop".

Public Property Ec2SubnetId System.String

Gets and sets the property Ec2SubnetId.

To launch the cluster in 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 is launched in the normal AWS cloud, outside of a 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 cluster launched in a 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 IamInstanceProfile System.String

Gets and sets the property IamInstanceProfile.

The IAM role that was specified when the cluster was launched. The EC2 instances of the cluster assume this role.

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

Gets and sets the property RequestedEc2AvailabilityZones.

Applies to clusters configured with the instance fleets option. Specifies one or more Availability Zones in which to launch EC2 cluster instances when the EC2-Classic network configuration is supported. Amazon EMR chooses the Availability Zone with the best fit from among the list of RequestedEc2AvailabilityZones, and then launches all cluster instances within that Availability Zone. If you do not specify this value, Amazon EMR chooses the Availability Zone for you. RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones cannot be specified together.

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

Gets and sets the property RequestedEc2SubnetIds.

Applies to clusters configured with the instance fleets option. Specifies the unique identifier of one or more Amazon EC2 subnets in which to launch EC2 cluster instances. Subnets must exist within the same VPC. Amazon EMR chooses the EC2 subnet with the best fit from among the list of RequestedEc2SubnetIds, and then launches all cluster instances within that Subnet. If this value is not specified, and the account and region support EC2-Classic networks, the cluster launches instances in the EC2-Classic network and uses RequestedEc2AvailabilityZones instead of this setting. If EC2-Classic is not supported, and no Subnet is specified, Amazon EMR chooses the subnet for you. RequestedEc2SubnetIDs and RequestedEc2AvailabilityZones cannot be specified together.

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.

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