Skip to content

Instantly share code, notes, and snippets.

@seungjin
Created November 27, 2012 02:47
Show Gist options
  • Save seungjin/4152070 to your computer and use it in GitHub Desktop.
Save seungjin/4152070 to your computer and use it in GitHub Desktop.
from boto.ec2.autoscale import AutoScaleConnection
groupname = ''
as_conn = AutoScaleConnection(
aws_access_key_id='',
aws_secret_access_key=''
)
group = as_conn.get_all_groups(names=[groupname])[0]
for activity in group.get_activities():
print activity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment