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-1.1.3 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.1.2 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.1.1 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.1.0 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.7 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.6 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.5 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.4 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.3 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.2 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.1 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.0.pre.beta.10 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.0.pre.beta.9 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.0.pre.beta.8 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.0.pre.beta.7 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.0.pre.beta.6 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.0.pre.beta.4 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-1.0.0.pre.beta.1 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-0.4.3 lib/convection/model/template/resource/aws_sqs_queue.rb
convection-0.4.2 lib/convection/model/template/resource/aws_sqs_queue.rb