Skip to content

AutoScalingGroup: LaunchTemplateOverrides is missing the InstanceRequirements Attribute in AWS CDK L2 construct #28393

@ayush-shah-1501

Description

@ayush-shah-1501

Describe the feature

The LaunchTemplateOverridesProperty is a crucial feature for our use case as it allows us to specify CPU, and memory configurations on a per-instance basis within the Auto Scaling Group and define spot and on-deamnd instances capcaity percentage. While this functionality is available in the L1 construct, it seems to be missing in the L2 construct.

Use Case

We expect the L2 construct (AutoScalingGroup) to provide support for the LaunchTemplateOverridesProperty, enabling us to define specific configurations (such as min and max CPU and memory) and spot and on-demand capacity percentage within the Auto Scaling Group.

Proposed Solution

We propose extending the L2 AutoScalingGroup construct to include support for the LaunchTemplateOverridesProperty or providing an alternative mechanism to achieve per-instance configuration within the Auto Scaling Group.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.100.0

Environment details (OS name and version, etc.)

ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-autoscalingRelated to Amazon EC2 Auto Scalingeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions