aws-autoscaling: OnDemandAllocationStrategy enum does not support lowest-price #28395
Labels
@aws-cdk/aws-autoscaling
Related to Amazon EC2 Auto Scaling
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Describe the bug
AWS AutoScaling OnDemandAllocationStrategy enum for Mixed Instance Policy does not support
lowest-price
, onlyprioritized
.ASG supports both: https://docs.aws.amazon.com/autoscaling/ec2/userguide/allocation-strategies.html#on-demand-allocation-strategy
Expected Behavior
OnDemandAllocationStrategy should support both
prioritized
andlowest-price
Current Behavior
OnDemandAllocationStrategy only supports
prioritized
and NOTlowest-price
Reproduction Steps
aws-cdk/packages/aws-cdk-lib/aws-autoscaling/lib/auto-scaling-group.ts
Lines 423 to 432 in 1a9c30e
Possible Solution
Add
lowest-price
enumAdditional Information/Context
No response
CDK CLI Version
2.106.0
Framework Version
No response
Node.js Version
21.1.0
OS
Mac M1 14.2
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: