aws / aws/aws-cdk

launch_template: enable setting Placement value

Open
#22,356 0 comments 1 reaction 0 assignees View on GitHub
@aws-cdk/aws-ec2 effort/small feature-request p3
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

It would be helpful to have Placement enabled in launch_template so that we could specify dedicated hosts.

https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/aws-ec2/lib/launch-template.ts#L676

### Use Case

I need to specify a dedicated host in order to use Macs

### Proposed Solution

enable ability for us to specify Platform with the L2 construct for launch_template

### 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.44.0

### Environment details (OS name and version, etc.)

ubuntu

Contributor guide

Open the contributing guide

Research direction

Start in packages/@aws-cdk/aws-ec2/lib/launch-template.ts around line 676 and inspect how the launch_template L2 construct exposes its settings. Resolve whether the requested capability is Placement or Platform, then verify that users can specify a dedicated host for Mac instances and that the construct behavior is covered by the repository's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.