Sha256: 999ea6e2a58e2c256c69fceb1ce5ba107a38e96812da231104267ba24d06618d
Contents?: true
Size: 459 Bytes
Versions: 9
Compression:
Stored size: 459 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, Value: get_att("#{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
9 entries across 9 versions & 1 rubygems