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

gefragt vor 5 Jahren468 Aufrufe
2 Antworten
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

beantwortet vor 5 Jahren
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.

beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen