How can I check whether an AWS Elastic Load Balancer, Application Load Balancer or Network Load Balancer is associated with any Auto-Scaling group by passing the Load Balancer name or Load Balancer ARN using Boto3?
The describe_auto_scaling_groups()
command returns a list of LoadBalancerNames
.
Therefore, you will need to:
describe_auto_scaling_groups()
to obtain a list of Auto Scaling groupsLoadBalancerNames
list
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.