Skip to content

Instantly share code, notes, and snippets.

@andy-b-84
Created May 12, 2017 14:46
Show Gist options
  • Save andy-b-84/f96d9b5f4a0a87a3b9ef37e3f5f89e56 to your computer and use it in GitHub Desktop.
Save andy-b-84/f96d9b5f4a0a87a3b9ef37e3f5f89e56 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
#elb.detail.py
# don't forget to run aws configure before running that script
import boto3, pprint
elbclient = boto3.client('elb')
response = elbclient.describe_load_balancers(
LoadBalancerNames = ["MyAwesomeELBName"]
)
pp = pprint.PrettyPrinter(indent=2)
pp.pprint(response)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment