Using the Python Boto library with CMB

33 views
Skip to first unread message

replic4nt0wnz

unread,
Oct 16, 2014, 3:28:48 PM10/16/14
to cmb-use...@googlegroups.com
Anyone currently doing this? You can normally override some of the settings for Boto, say with s3, but I haven't been able to track down where for SQS in the documentation.

replic4nt0wnz

unread,
Oct 21, 2014, 2:29:48 PM10/21/14
to cmb-use...@googlegroups.com
After digging around the class you can set the host, port, and "is_secure" if you don't have any ssl enabled. Example:

import boto
access_key = 'KEY'
access_secret = 'SECRET'
sqs = boto.connect_sqs(access_key, access_secret)
sqs.host = 'host'
sqs.port = 6059
sqs.is_secure = False
sqs.get_all_queues()

Reply all
Reply to author
Forward
0 new messages