Module: CloudShaped::SnsMethods

Includes:
CoreMethods
Included in:
DSL
Defined in:
lib/cloud_shaped/sns_methods.rb

Instance Method Summary collapse

Methods included from CoreMethods

#output, #parameter, #ref, #resource, #tag, #tags

Instance Method Details

#sns_topic(target) ⇒ Object



9
10
11
12
13
# File 'lib/cloud_shaped/sns_methods.rb', line 9

def sns_topic(target)
  resource "AWS::SNS::Topic", "Subscription" => [
    { "Protocol" => sns_protocol(target), "Endpoint" => target }
  ]
end