Options to aws elbv2 delete-listener by target group name, region

0

Is there a way to delete a listener on an LB via the CLI using the Target Group name, AWS region (and anything else that is needed to uniquely identify the listener)?

The current and only option is to identify the listener by the ARN (--listener-arn).

asked 5 years ago461 views
2 Answers
0

Hello,

kindly check this docs : https://docs.aws.amazon.com/cli/latest/reference/elb/delete-load-balancer-listeners.html

I hope it'll be helpful for you.

Regards,
CloudHasib

answered 5 years ago
0

Thanks. As per documentation for elb:
"This reference covers the 2012-06-01 API, which supports Classic Load Balancers. The 2015-12-01 API supports Application Load Balancers and Network Load Balancers."

I'm assuming this (elb command) will work against an ELB of Type:Application ?

This option should make it to elbv2, imo.

Also it would be good to have an enhancement request to perform a delete using the options I've mentioned in the title of this question. It was very inefficient to obtain the Target Group details and then parse down to retrieving the port/listener-arn in order to issue the delete.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions