Skip to content

Instantly share code, notes, and snippets.

@alangarf
Created July 28, 2014 01:11
Show Gist options
  • Save alangarf/f51f72fab03543f758a3 to your computer and use it in GitHub Desktop.
Save alangarf/f51f72fab03543f758a3 to your computer and use it in GitHub Desktop.
SQS ElasticMQ connection with boto
import boto.sqs.regioninfo
import boto
region = boto.sqs.regioninfo.RegionInfo(name='elasticmq', endpoint='localhost')
conn = boto.connect_sqs(aws_access_key_id="x", aws_secret_access_key="x", region=region, is_secure=False, port=9324)
conn.get_all_queues()
@bramswenson
Copy link

bramswenson commented May 23, 2016

Nice, still works! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment