Amazon EMR Cluster InstanceFleetConfig
The InstanceFleetConfig property type specifies a Spot instance fleet configuration for the cluster.
For more information, see Configure Instance Fleets in the Amazon EMR Management Guide.
InstanceFleetConfig is the property type for the CoreInstanceFleet and MasterInstanceFleet subproperties of the Amazon EMR Cluster
JobFlowInstancesConfig property type.
Note
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Syntax
JSON
{ "InstanceTypeConfigs" : [ InstanceTypeConfig ], "LaunchSpecifications" : InstanceFleetProvisioningSpecifications, "Name" :String, "TargetOnDemandCapacity" :Integer, "TargetSpotCapacity" :Integer}
YAML
InstanceTypeConfigs: - InstanceTypeConfig LaunchSpecifications: InstanceFleetProvisioningSpecifications Name:StringTargetOnDemandCapacity:IntegerTargetSpotCapacity:Integer
Properties
InstanceTypeConfigs-
The instance type configurations that define the EC2 instances in the instance fleet. Duplicates not allowed.
Required: No
Type: List of Amazon EMR Cluster InstanceTypeConfig
Update requires: Replacement
LaunchSpecifications-
The launch specification for the instance fleet.
Required: No
Type: Amazon EMR Cluster 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, which 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, which 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
