option for LoadBalancedFargateService with NLB to specify different listener port #3666
Closed
1 of 5 tasks
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
@aws-cdk/aws-ecs-patterns
Related to ecs-patterns library
Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
The
LoadBalancedFargateService
class has no option to specify different ELB listerner port other than80
aws-cdk/packages/@aws-cdk/aws-ecs-patterns/lib/fargate/load-balanced-fargate-service.ts
Line 50 in 77671ad
And we need to addPropertyOverride() like this:
Provide a
loadBalancerListenerPort
property in LoadBalancedFargateServicePropsFargate service running as TCP service behind NLB could have listener other than 80 on the NLB. For example, NLB:8888 to containerPort:8888 on Fargate.
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
The text was updated successfully, but these errors were encountered: