Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EMR Cluster JobFlowInstancesConfig

JobFlowInstancesConfig is a property of the AWS::EMR::Cluster resource that configures the EC2 instances (nodes) that will run jobs in an Amazon EMR (Amazon EMR) cluster.

Syntax

JSON

Copy
{ "AdditionalMasterSecurityGroups" : [ String, ... ], "AdditionalSlaveSecurityGroups" : [ String, ... ], "CoreInstanceGroup" : InstanceGroupConfig, "Ec2KeyName" : String, "Ec2SubnetId" : String, "EmrManagedMasterSecurityGroup" : String, "EmrManagedSlaveSecurityGroup" : String, "HadoopVersion" : String, "MasterInstanceGroup" : InstanceGroupConfig, "Placement" : Placement, "ServiceAccessSecurityGroup" : String, "TerminationProtected" : Boolean }

Properties

AdditionalMasterSecurityGroups

A list of additional EC2 security group IDs to assign to the master instance (master node) in your Amazon EMR cluster. Use this property to supplement the rules specified by the Amazon EMR managed master security group.

Required: No

Type: List of strings

AdditionalSlaveSecurityGroups

A list of additional EC2 security group IDs to assign to the slave instances (slave nodes) in your Amazon EMR cluster. Use this property to supplement the rules specified by the Amazon EMR managed slave security group.

Required: No

Type: List of strings

CoreInstanceGroup

The settings for the core instances in your Amazon EMR cluster.

Required: Yes

Type: Amazon EMR Cluster JobFlowInstancesConfig InstanceGroupConfig

Ec2KeyName

The name of an Amazon Elastic Compute Cloud (Amazon EC2) key pair, which you can use to access the instances in your Amazon EMR cluster.

Required: No

Type: String

Ec2SubnetId

The ID of a subnet where you want to launch your instances.

Required: No

Type: String

EmrManagedMasterSecurityGroup

The ID of an EC2 security group (managed by Amazon EMR) that is assigned to the master instance (master node) in your Amazon EMR cluster.

Required: No

Type: String

EmrManagedSlaveSecurityGroup

The ID of an EC2 security group (managed by Amazon EMR) that is assigned to the slave instances (slave nodes) in your Amazon EMR cluster.

Required: No

Type: String

HadoopVersion

The Hadoop version for the job flow. For valid values, see the HadoopVersion parameter in the Amazon EMR API Reference.

Required: No

Type: String

MasterInstanceGroup

The settings for the master instance (master node).

Required: Yes

Type: Amazon EMR Cluster JobFlowInstancesConfig InstanceGroupConfig

Placement

The Availability Zone (AZ) in which the job flow runs.

Required: No

Type: Amazon EMR Cluster JobFlowInstancesConfig PlacementType

ServiceAccessSecurityGroup

The ID of an EC2 security group (managed by Amazon EMR) that services use to access clusters in private subnets.

Required: No

Type: String

TerminationProtected

Indicates whether to prevent the EC2 instances from being terminated by an API call or user intervention. If you want to delete a stack with protected instances, update this value to false before you delete the stack. By default, AWS CloudFormation sets this property to false.

Required: No

Type: Boolean