Sha256: dc0b26fd919fecae8889b5bd521a087cad946301676055651226851325995590

Contents?: true

Size: 365 Bytes

Versions: 151

Compression:

Stored size: 365 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_topic_policy(id, props={})
      resource(id, "AWS::SNS::TopicPolicy", props)
    end

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

Version data entries

151 entries across 151 versions & 3 rubygems

Version Path
jets-3.0.21 lib/jets/stack/main/dsl/sns.rb
jets-3.0.20 lib/jets/stack/main/dsl/sns.rb
jets-3.0.19 lib/jets/stack/main/dsl/sns.rb
jets-3.0.18 lib/jets/stack/main/dsl/sns.rb
jets-3.0.17 lib/jets/stack/main/dsl/sns.rb
jets-3.0.16 lib/jets/stack/main/dsl/sns.rb
jets-3.0.15 lib/jets/stack/main/dsl/sns.rb
jets-3.0.14 lib/jets/stack/main/dsl/sns.rb
jets-3.0.13 lib/jets/stack/main/dsl/sns.rb
jets-3.0.12 lib/jets/stack/main/dsl/sns.rb
jets-3.0.11 lib/jets/stack/main/dsl/sns.rb
jets-3.0.10 lib/jets/stack/main/dsl/sns.rb
jets-3.0.9 lib/jets/stack/main/dsl/sns.rb
jets-3.0.8 lib/jets/stack/main/dsl/sns.rb
jets-3.0.7 lib/jets/stack/main/dsl/sns.rb
jets-3.0.6 lib/jets/stack/main/dsl/sns.rb
jets-3.0.5 lib/jets/stack/main/dsl/sns.rb
jets-3.0.4 lib/jets/stack/main/dsl/sns.rb
jets-3.0.3 lib/jets/stack/main/dsl/sns.rb
jets-2.3.19 lib/jets/stack/main/dsl/sns.rb