Skip to content

(network-load-balanced-fargate-service): (Add support for creating load balancer with IPv6 support) #29614

@vishnu0179

Description

@vishnu0179

Describe the feature

Today, if i want to use network-load-balanced-fargate-service construct for creating a fargate service with network loadbalancer attached, we dont have an option to enable IPv6 on Network Loadbalancer. There is no corresponding prop available for the users of this construct to opt for IPv6 NLB.

https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/network-load-balanced-service-base.ts#L34

We want an prop ipAddressType to control to enable IPv6 address on our load balancer.

Use Case

Our service has a public network load balancer and our client recommends enabling IPv6 for the calling endpoint.

Proposed Solution

Adding an prop ipAddressType in network-load-balanced-service-base.ts so that clients of this can control enabling of loadbalancer IPv6.

Default would be IpAddressType.IPV4 for backward compatibilty.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_elasticloadbalancingv2.NetworkLoadBalancer.html

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

Environment details (OS name and version, etc.)

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions