SpotOptions - AWS PCS

SpotOptions

Additional configuration when you specify SPOT as the purchaseOption for the CreateComputeNodeGroup API action.

Contents

allocationStrategy

The Amazon EC2 allocation strategy AWS PCS uses to provision EC2 instances. AWS PCS supports lowest price, capacity optimized, and price capacity optimized. For more information, see Use allocation strategies to determine how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity in the Amazon Elastic Compute Cloud User Guide. If you don't provide this option, it defaults to price capacity optimized.

Type: String

Valid Values: lowest-price | capacity-optimized | price-capacity-optimized

Required: No

See Also

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