x3nr0s
x3nr0s

Reputation: 2158

boto command for describing an Auto Scaling Group?

I'm trying to write a Python script to list Suspended Processes of a specific Auto Scaling Group in my Amazon Web Services account.

From what I can see, using boto, (Not boto3) there is no command to list the specific properties of an auto scaling group.

Can anyone shed a light on this? Thanks.

Upvotes: 0

Views: 319

Answers (1)

Ben Whaley
Ben Whaley

Reputation: 34426

You can use the little known suspended_processes attribute on an autoscale group.

import boto
autoscale = boto.connect_autoscale()
group = autoscale.get_all_groups(names=["mygroup"])[0]
group.suspended_processes

Upvotes: 2

Related Questions