(aws-ec2): ApplicationLoadBalancer - Expose created Listeners as collection
See original GitHub issueListeners that are created via calls to addListener()
should be exposed as a collection property of ApplicationLoadBalancer
.
Use Case
When the ALB is created through mechanisms outside of my direct control, such as ApplicationLoadBalancedFargateService
, I am unable to alter listener properties such as the sslPolicy (see https://github.com/aws/aws-cdk/issues/8816).
Proposed Solution
There is a general OO design principal that goes something like “that which creates contains”. (At least according to Craig Larman there is). This principal seems to be followed generally throughout the CDK but seems to have been missed in this instance.
Add a public Listeners property which includes listeners that were added via addListeners
.
- 👋 I may be able to implement this feature request
- ⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Getting started with Application Load Balancers
This tutorial provides a hands-on introduction to Application Load Balancers through the AWS Management Console, a web-based interface. To create your first ...
Read more >How to Create an AWS Application Load Balancer for Your ...
Choose Application Load Balancer by clicking the Create button. In Step 1, you give the load balancer the name MyFirstLoadBalancer. Set the listener...
Read more >How to route traffic to your Docker container in AWS ECS ...
Introducing the Application Load Balancer · Load Balancer Listener: checks for connections from clients. Uses configurable rules to determine how ...
Read more >How to create Application Load Balancer using Terraform ...
In this video, we will create an application load balancer in AWS using Terraform. ♂️ - To support my channel, I offer...
Read more >Set up a load balancer, target groups, and listeners for ...
Verify your default VPC, public subnets, and security group · Create an Amazon EC2 Application Load Balancer, two target groups, and listeners (console)....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have to remember with Typescript that the goto method of overriding behavior is not necessarily Monkey Patching. Inheritance works.
I would still classify this as a workaround.
In use
I have this exact use case as well. Is there any timeline on a fix? I may have to rewrite my whole stack to allow setting this.