Skip to content

Instantly share code, notes, and snippets.

@siroken3
Created August 24, 2012 06:47
Show Gist options
  • Save siroken3/3446826 to your computer and use it in GitHub Desktop.
Save siroken3/3446826 to your computer and use it in GitHub Desktop.
怒られない例
#!/bin/env python
import boto.ec2.cloudwatch
region = [r for r in boto.ec2.cloudwatch.regions() if r.nmae == '<REGION-NAME>'][0]
conn = boto.connect_cloudwatch(region=region)
conn.list_metrics()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment