Reputation: 51
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?
Upvotes: 0
Views: 145
Reputation: 270194
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
listUpvotes: 1