targetSpotCapacity property
The target capacity of Spot units for the instance fleet, which determines
how many Spot Instances to provision. When the instance fleet launches,
Amazon EMR tries to provision Spot Instances as specified by
InstanceTypeConfig. Each instance configuration has a specified
WeightedCapacity
. When a Spot Instance is provisioned, the
WeightedCapacity
units count toward the target capacity. Amazon
EMR provisions instances until the target capacity is totally fulfilled,
even if this results in an overage. For example, if there are 2 units
remaining to fulfill capacity, and Amazon EMR can only provision an instance
with a WeightedCapacity
of 5 units, the instance is
provisioned, and the target capacity is exceeded by 3 units.
Implementation
final int? targetSpotCapacity;