AWS::PCS::ComputeNodeGroup SpotOptions - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::PCS::ComputeNodeGroup SpotOptions

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

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "AllocationStrategy" : String }

YAML

AllocationStrategy: String

Properties

AllocationStrategy

The Amazon EC2 allocation strategy Amazon PCS uses to provision EC2 instances. Amazon 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.

Required: No

Type: String

Allowed values: lowest-price | capacity-optimized | price-capacity-optimized

Update requires: No interruption