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