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

AWS::EMR::InstanceFleetConfig

Use the AWS::EMR::InstanceFleetConfig resource to configure a Spot Instance fleet for an Amazon EMR cluster. For more information, see Configure Instance Fleets in the Amazon EMR Management Guide.

Note

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "Type" : "AWS::EMR::InstanceFleetConfig", "Properties" : { "ClusterId" : String, "InstanceFleetType" : String, "InstanceTypeConfigs" : [ InstanceTypeConfig, ... ], "LaunchSpecifications" : InstanceFleetProvisioningSpecifications, "Name" : String, "TargetOnDemandCapacity" : Integer, "TargetSpotCapacity" : Integer } }

YAML

Copy
Type: "AWS::EMR::InstanceFleetConfig" Properties: ClusterId: String InstanceFleetType: String InstanceTypeConfigs: - InstanceTypeConfig LaunchSpecifications: InstanceFleetProvisioningSpecifications Name: String TargetOnDemandCapacity: Integer TargetSpotCapacity: Integer

Properties

For more information about each property, including constraints and valid values, see InstanceFleetConfig in the Amazon EMR API Reference.

ClusterId

The ID of the target cluster.

Required: Yes

Type: String

Update requires: Replacement

InstanceFleetType

The node type that the instance fleet hosts. Valid values are MASTER, CORE, and TASK.

Required: Yes

Type: String

Update requires: Replacement

InstanceTypeConfigs

The instance type configurations that define the EC2 instances in the instance fleet. Duplicates not allowed.

Required: No

Type: List of Amazon EMR InstanceFleetConfig InstanceTypeConfig

Update requires: Replacement

LaunchSpecifications

The launch specification for the instance fleet.

Required: No

Type: Amazon EMR InstanceFleetConfig InstanceFleetProvisioningSpecifications

Update requires: Replacement

Name

The friendly name of the instance fleet. For constraints, see InstanceFleetConfig in the Amazon EMR API Reference.

Required: No

Type: String

Update requires: Replacement

TargetOnDemandCapacity

The target capacity of On-Demand units for the instance fleet. This determines how many On-Demand Instances to provision. For more information, see InstanceFleetConfig in the Amazon EMR API Reference.

Required: No

Type: Integer

Update requires: No interruption

TargetSpotCapacity

The target capacity of Spot units for the instance fleet. This determines how many Spot Instances to provision. For more information, see InstanceFleetConfig in the Amazon EMR API Reference.

Required: No

Type: Integer

Update requires: No interruption

On this page: