22.27.9. salt.states.aws_sqs

22.27.9.1. Manage SQS Queues

Create and destroy SQS queues. Be aware that this interacts with Amazon's services, and so may incur charges.

This module uses the awscli tool provided by Amazon. This can be downloaded from pip. Also check the documentation for awscli for configuration information.

myqueue:
    aws_sqs.exists:
        - region: eu-west-1
salt.states.aws_sqs.absent(name, region, user=None, opts=False)

Remove the named SQS queue if it exists.

name
Name of the SQS queue.
region
Region to remove the queue from
user
Name of the user performing the SQS operations
opts
Include additional arguments and options to the aws command line
salt.states.aws_sqs.exists(name, region, user=None, opts=False)

Ensure the SQS queue exists.

name
Name of the SQS queue.
region
Region to create the queue
user
Name of the user performing the SQS operations
opts
Include additional arguments and options to the aws command line

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.7.2

Table Of Contents

Previous topic

22.27.8. salt.states.augeas

Next topic

22.27.10. salt.states.blockdev

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.