AWS::EMR::Cluster OnDemandProvisioningSpecification
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
Note
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AllocationStrategy" :
String
, "CapacityReservationOptions" :OnDemandCapacityReservationOptions
}
Properties
AllocationStrategy
-
Specifies the strategy to use in launching On-Demand instance fleets. Available options are
lowest-price
andprioritized
.lowest-price
specifies to launch the instances with the lowest price first, andprioritized
specifies that Amazon EMR should launch the instances with the highest priority first. The default islowest-price
.Required: Yes
Type: String
Allowed values:
lowest-price | prioritized
Update requires: No interruption
CapacityReservationOptions
-
The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
Required: No
Type: OnDemandCapacityReservationOptions
Update requires: No interruption