Skip to content

(aws-ecs): PortMapping should support ContainerPortRange #23509

@mneirynck

Description

@mneirynck

Describe the feature

This feature would make CDK on par with Cloudformation for the places where PortMapping is used.

Use Case

We're working on a project that uses an RTPEngine hosted on ECS Fargate, but this needs a specified range of UDP ports to be opened (ie 30000:40000).

Proposed Solution

Add the ContainerPortRange property to PortMapping, Cloudformation already supports it.

Or give the option to do a property override to add this property yourself.

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

Environment details (OS name and version, etc.)

Arch, Python 3.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ecsRelated to Amazon Elastic Containereffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions