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

feita há 5 anos468 visualizações
2 Respostas
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

respondido há 5 anos
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.

respondido há 5 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas