Class OnDemandAllocationStrategy
Indicates how to allocate instance types to fulfill On-Demand capacity.
Inheritance
System.Object
OnDemandAllocationStrategy
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.AWS.AutoScaling.dll
Syntax (csharp)
public sealed class OnDemandAllocationStrategy : Enum
Syntax (vb)
Public NotInheritable Class OnDemandAllocationStrategy
Inherits
Enum
Synopsis
Fields
PRIORITIZED | This strategy uses the order of instance types in the LaunchTemplateOverrides to define the launch priority of each instance type. |
value__ |
Fields
PRIORITIZED
This strategy uses the order of instance types in the LaunchTemplateOverrides to define the launch priority of each instance type.
public const OnDemandAllocationStrategy PRIORITIZED
Field Value
Type | Description |
---|---|
OnDemandAllocationStrategy |
Remarks
The first instance type in the array is prioritized higher than the last. If all your On-Demand capacity cannot be fulfilled using your highest priority instance, then the Auto Scaling group launches the remaining capacity using the second priority instance type, and so on.
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |