Sha256: 29dbce8375744d9c8ddc02d5337e4995cf4436880b0e8a9eb8ec6a897651afc5

Contents?: true

Size: 437 Bytes

Versions: 136

Compression:

Stored size: 437 Bytes

Contents

# CloudFormation SQS Queue docs: https://amzn.to/2MVWk0j
module Jets::Resource::Sqs
  class Queue < Jets::Resource::Base
    def initialize(props={})
      @props = props # associated_properties from dsl.rb
    end

    def definition
      {
        queue_logical_id => {
          type: "AWS::SQS::Queue",
          properties: @props,
        }
      }
    end

    def queue_logical_id
      "{namespace}_sqs_queue"
    end
  end
end

Version data entries

136 entries across 136 versions & 3 rubygems

Version Path
jets-4.0.12 lib/jets/resource/sqs/queue.rb
jets-4.0.11 lib/jets/resource/sqs/queue.rb
jets-4.0.10 lib/jets/resource/sqs/queue.rb
jets-4.0.9 lib/jets/resource/sqs/queue.rb
jets-4.0.8 lib/jets/resource/sqs/queue.rb
jets-4.0.7 lib/jets/resource/sqs/queue.rb
jets-4.0.6 lib/jets/resource/sqs/queue.rb
jets-4.0.5 lib/jets/resource/sqs/queue.rb
jets-4.0.4 lib/jets/resource/sqs/queue.rb
jets-4.0.3 lib/jets/resource/sqs/queue.rb
jets-4.0.2 lib/jets/resource/sqs/queue.rb
jets-4.0.1 lib/jets/resource/sqs/queue.rb
jets-4.0.0 lib/jets/resource/sqs/queue.rb
jets-3.2.2 lib/jets/resource/sqs/queue.rb
jets-3.2.1 lib/jets/resource/sqs/queue.rb
jets.benforeva-3.0.17.pre.mount.pre.fix lib/jets/resource/sqs/queue.rb
jets-3.2.0 lib/jets/resource/sqs/queue.rb
jets-3.1.5 lib/jets/resource/sqs/queue.rb
jets-3.1.4 lib/jets/resource/sqs/queue.rb
jets-3.1.3 lib/jets/resource/sqs/queue.rb