Sha256: 7046bb466ebfeaa119e4fe10c70481c776a89fe4983d91ff25ff2a98206e2e97
Contents?: true
Size: 448 Bytes
Versions: 41
Compression:
Stored size: 448 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, getatt(id, :arn)) # normal !Ref returns the sqs url the ARN is useful for nested stacks depends_on output("#{id}_url", ref(id)) # useful for Stack.lookup method. IE: List.lookup(:waitlist_url) end end end
Version data entries
41 entries across 41 versions & 2 rubygems