aws-sqs-create-queue

Create multiple AWS SQS queues and its corresponding dead-letter-queues with minimal configuration.

``` $ aws-sqs-create-queue --help

aws-sqs-create-queue 0.1.0 PY py@pypy.info Create multiple AWS SQS queues and its corresponding dead-letter-queues with minimal configuration.

USAGE: aws-sqs-create-queue --config

OPTIONS: -c, --config The input file containing the sqs configurations -h, --help Print help information -V, --version Print version information ```

Configuration file

examples/sqs-conf.toml ```toml

--- demo-queue

[[queues]] [queues.queue] name = "demo-queue" visibilitytimeout=3500 messageretentionperiod=3600 messagemaxreceivecount=3

[queues.deadletterqueue] name = "demo-queue-dlq" visibilitytimeout=80 messageretention_period=60

--- demo-queue-2

[[queues]] [queues.queue] name = "demo-queue-2" visibilitytimeout=1234 messageretentionperiod=111 messagemaxreceivecount=12

[queues.deadletterqueue] name = "demo-queue-2-dlq" visibilitytimeout=180 messageretention_period=601

--- more

```

Usage

``` $ aws-sqs-create-queue --config examples/sqs-conf.toml

Ok: queue: https://sqs.cn-northwest-1.amazonaws.com.cn//demo-queue, deadletterqueue: Some("https://sqs.cn-northwest-1.amazonaws.com.cn//demo-queue-dlq") Ok: queue: https://sqs.cn-northwest-1.amazonaws.com.cn//demo-queue-2, deadletterqueue: Some("https://sqs.cn-northwest-1.amazonaws.com.cn//demo-queue-2-dlq")

```