Sha256: 46d7b2d4c4315927bbf51cd5ed758ca1b9bbab511a072cd878dc20ca1c4e075e

Contents?: true

Size: 967 Bytes

Versions: 67

Compression:

Stored size: 967 Bytes

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        # @example
        #   sqs_queue 'NotifyQueue' do
        #     queue_name "my-notify-queue"
        #     visibility_timeout 3600
        #   end
        class SQSQueue < Resource
          include Model::Mixin::Taggable

          type 'AWS::SQS::Queue'
          property :delay_seconds, 'DelaySeconds'
          property :maximum_message_size, 'MaximumMessageSize'
          property :message_retention_period, 'MessageRetentionPeriod'
          property :queue_name, 'QueueName'
          property :receive_message_wait_time_seconds, 'ReceiveMessageWaitTimeSeconds'
          property :redrive_policy, 'RedrivePolicy'
          property :visibility_timeout, 'VisibilityTimeout'

          def render(*args)
            super.tap do |resource|
              render_tags(resource)
            end
          end
        end
      end
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
convection-2.2.12 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.11 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.10 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.9 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.8 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.7 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.6 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.5 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.4 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.3 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.2 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.1 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.2.0 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.1.2 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.1.1 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.1.0 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-2.0.0 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.1.7 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.1.5 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.1.4 lib/convection/model/template/resource/aws_sqs_queue.rb