Skip to content

(aws-ecs): add support for Amazon Linux 2023 in EcsOptimizedImage #26988

@layertwo

Description

@layertwo

Describe the feature

Currently, the EcsOptimizedImage only provides hooks for Windows, Amazon Linux, and Amazon Linux 2. ECS is publishing a recommended ECS AMI for Amazon Linux 2023, however this is not implemented in the aws-ecs module.

Use Case

I want to launch ECS instances with the latest Amazon Linux 2023 AMI.

Proposed Solution

Expand EcsOptimizedImage to include a hook for Amazon Linux 2023. The same method for Amazon Linux and Amazon Linux 2 can be reapplied with a different ec2.AmazonLinuxGeneration.

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.94.0

Environment details (OS name and version, etc.)

Ubuntu 22.04 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ecsRelated to Amazon Elastic Containereffort/mediumMedium work item – several days 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