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

질문됨 5년 전468회 조회
2개 답변
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

답변함 5년 전
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.

답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠