Module: Jets::Stack::Main::Dsl::Sns
- Defined in:
- lib/jets/stack/main/extensions/sns.rb
Instance Method Summary collapse
Instance Method Details
#sns_subscription(id, props = {}) ⇒ Object
8 9 10 |
# File 'lib/jets/stack/main/extensions/sns.rb', line 8 def sns_subscription(id, props={}) resource(id, "AWS::SNS::Subscription", props) end |
#sns_topic(id, props = {}) ⇒ Object
3 4 5 6 |
# File 'lib/jets/stack/main/extensions/sns.rb', line 3 def sns_topic(id, props={}) resource(id, "AWS::SNS::Topic", props) output(id) end |