获得EC2 auto scaling 组活动信息

#!/usr/bin/env python
# -*- coding: UTF8 -*-

import boto

conn = boto.connect_autoscale()
connec2 = boto.connect_ec2()

groups = conn.get_all_groups()
print len(groups)
actives = conn.get_all_activities('autoscaling-group-name')

for active in actives:
    print active

你可能感兴趣的:(java,python,活动)