Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)


Describes the configuration of Spot Instances in an EC2 Fleet request.



Indicates how to allocate the target capacity across the Spot pools specified by the Spot Fleet request. The default is lowestPrice.

Type: String

Valid Values: lowest-price | diversified

Required: No


The behavior when a Spot Instance is interrupted. The default is terminate.

Type: String

Valid Values: hibernate | stop | terminate

Required: No


The number of Spot pools across which to allocate your target Spot capacity. Valid only when Spot AllocationStrategy is set to lowest-price. EC2 Fleet selects the cheapest Spot pools and evenly allocates your target Spot capacity across the number of Spot pools that you specify.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: