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

SpotOptions

Describes the configuration of Spot Instances in an EC2 Fleet.

Contents

allocationStrategy

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

instanceInterruptionBehavior

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

Type: String

Valid Values: hibernate | stop | terminate

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: