Reputation: 2158
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
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