Sha256: 2c03dd539f1353ec58834fa76c283244c169e2ad9d6974cfc4f46ebfaab95271

Contents?: true

Size: 774 Bytes

Versions: 7

Compression:

Stored size: 774 Bytes

Contents

#!/usr/bin/env ruby

region 'us-east-1'
name 'convection-sqs-queue-example'

sqs_queue = template do
  description 'An example template for setting up a SQS queue with Convection'

  sqs_queue 'ExampleSQSQueue' do
    delay_seconds 0 # The time in seconds that delivery of messages is queued
    maximum_message_size 262144 # How many bytes a message can contain before it's rejected
    message_retention_period 345600 # The time in seconds a message stays in the queue
    queue_name 'ExampleSQSQueue' # The name of the queue
    receive_message_wait_time_seconds 0 # Set to non-zero to enable long polling
    visibility_timeout 30 # The time in seconds the queue will be unavailable once a message is delivered
  end
end

stack 'convection-sqs-queue-example', sqs_queue

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
convection-0.2.33 example/sqs-queue/Cloudfile
convection-0.2.32 example/sqs-queue/Cloudfile
convection-0.2.31 example/sqs-queue/Cloudfile
convection-0.2.30 example/sqs-queue/Cloudfile
convection-0.2.29 example/sqs-queue/Cloudfile
convection-0.2.28 example/sqs-queue/Cloudfile
convection-0.2.27 example/sqs-queue/Cloudfile