Sha256: 8c6b8eff0c153a5a5195f6907492087a0a091bd1faa9116c1a969a1ad80b3faa

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

module Jets::Stack::Main::Dsl
  module Sns
    def sns_topic(id, props={})
      resource(id, "AWS::SNS::Topic", props)
      output(id) # Topic Arn
    end

    def sns_subscription(id, props={})
      resource(id, "AWS::SNS::Subscription", props)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jets-1.7.2 lib/jets/stack/main/extensions/sns.rb