Sha256: 6d0de67c00f1847d7b74a805736b8386aac67ef36026f95afc370bdd676b006f

Contents?: true

Size: 342 Bytes

Versions: 33

Compression:

Stored size: 342 Bytes

Contents

module Jets::Stack::Main::Dsl
  module Sqs
    def sqs_queue(id, props={})
      # props[:queue_name] ||= id.to_s # comment out to allow CloudFormation to generate name
      resource(id, "AWS::SQS::Queue", props)
      # output(id) # normal !Ref returns the sqs url the ARN is more useful
      output(id, getatt(id, :arn))
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
jets-1.9.14 lib/jets/stack/main/dsl/sqs.rb
jets-1.9.13 lib/jets/stack/main/dsl/sqs.rb
jets-1.9.12 lib/jets/stack/main/dsl/sqs.rb
jets-1.9.11 lib/jets/stack/main/dsl/sqs.rb
jets-1.9.10 lib/jets/stack/main/dsl/sqs.rb
jets-1.9.9 lib/jets/stack/main/dsl/sqs.rb
jets-1.9.8 lib/jets/stack/main/dsl/sqs.rb
jets-1.9.7 lib/jets/stack/main/extensions/sqs.rb
jets-1.9.6 lib/jets/stack/main/extensions/sqs.rb
jets-1.9.5 lib/jets/stack/main/extensions/sqs.rb
jets-1.9.4 lib/jets/stack/main/extensions/sqs.rb
jets-1.9.3 lib/jets/stack/main/extensions/sqs.rb
jets-1.9.2 lib/jets/stack/main/extensions/sqs.rb
jets-1.9.1 lib/jets/stack/main/extensions/sqs.rb
jets-1.9.0 lib/jets/stack/main/extensions/sqs.rb
jets-1.8.14 lib/jets/stack/main/extensions/sqs.rb
jets-1.8.13 lib/jets/stack/main/extensions/sqs.rb
jets-1.8.12 lib/jets/stack/main/extensions/sqs.rb
jets-1.8.11 lib/jets/stack/main/extensions/sqs.rb
jets-1.8.10 lib/jets/stack/main/extensions/sqs.rb