ClusterEc2Attributes constructor
- Input<
String?> ? additionalMasterSecurityGroups, - Input<
String?> ? additionalSlaveSecurityGroups, - Input<
String?> ? emrManagedMasterSecurityGroup, - Input<
String?> ? emrManagedSlaveSecurityGroup, - required Input<
String> instanceProfile, - Input<
String?> ? keyName, - Input<
String?> ? serviceAccessSecurityGroup, - Input<
String?> ? subnetId, - Input<
List< ? subnetIds,String> ?>
Creates a new ClusterEc2Attributes.
additionalMasterSecurityGroups String containing a comma separated list of additional Amazon EC2 security group IDs for the master node.
additionalSlaveSecurityGroups String containing a comma separated list of additional Amazon EC2 security group IDs for the slave nodes as a comma separated string.
emrManagedMasterSecurityGroup Identifier of the Amazon EC2 EMR-Managed security group for the master node.
emrManagedSlaveSecurityGroup Identifier of the Amazon EC2 EMR-Managed security group for the slave nodes.
instanceProfile Instance Profile for EC2 instances of the cluster assume this role.
keyName Amazon EC2 key pair that can be used to ssh to the master node as the user called hadoop.
serviceAccessSecurityGroup Identifier of the Amazon EC2 service-access security group - required when the cluster runs on a private subnet.
subnetId VPC subnet id where you want the job flow to launch. Cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in an Amazon VPC.
subnetIds List of VPC subnet id-s where you want the job flow to launch. Amazon EMR identifies the best Availability Zone to launch instances according to your fleet specifications.
Implementation
const ClusterEc2Attributes({
this.additionalMasterSecurityGroups,
this.additionalSlaveSecurityGroups,
this.emrManagedMasterSecurityGroup,
this.emrManagedSlaveSecurityGroup,
required this.instanceProfile,
this.keyName,
this.serviceAccessSecurityGroup,
this.subnetId,
this.subnetIds,
});