(network-load-balanced-fargate-service): (Add support for creating load balancer with IPv6 support) #29614
Labels
@aws-cdk/aws-elasticloadbalancingv2
Related to Amazon Elastic Load Balancing V2
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
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
CDK version used
2.14.0
Environment details (OS name and version, etc.)
NA
The text was updated successfully, but these errors were encountered: