Table of Contents

Enum SpotAllocationStrategy

Namespace
Amazon.CDK.AWS.AutoScaling
Assembly
Amazon.CDK.AWS.AutoScaling.dll

Indicates how to allocate instance types to fulfill Spot capacity.

public enum SpotAllocationStrategy

Fields

CAPACITY_OPTIMIZED = 1

The Auto Scaling group launches instances using Spot pools that are optimally chosen based on the available Spot capacity.

CAPACITY_OPTIMIZED_PRIORITIZED = 2

When you use this strategy, you need to set the order of instance types in the list of launch template overrides from highest to lowest priority (from first to last in the list).

LOWEST_PRICE = 0

The Auto Scaling group launches instances using the Spot pools with the lowest price, and evenly allocates your instances across the number of Spot pools that you specify.