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-4.0.12 lib/jets/stack/main/dsl/sns.rb
jets-4.0.11 lib/jets/stack/main/dsl/sns.rb
jets-5.0.13 lib/jets/stack/main/dsl/sns.rb
jets-5.0.12 lib/jets/stack/main/dsl/sns.rb
jets-5.0.11 lib/jets/stack/main/dsl/sns.rb
jets-5.0.10 lib/jets/stack/main/dsl/sns.rb
jets-5.0.9 lib/jets/stack/main/dsl/sns.rb
jets-5.0.8 lib/jets/stack/main/dsl/sns.rb
jets-5.0.7 lib/jets/stack/main/dsl/sns.rb
jets-5.0.6 lib/jets/stack/main/dsl/sns.rb
jets-5.0.5 lib/jets/stack/main/dsl/sns.rb
jets-5.0.4 lib/jets/stack/main/dsl/sns.rb
jets-5.0.3 lib/jets/stack/main/dsl/sns.rb
jets-5.0.2 lib/jets/stack/main/dsl/sns.rb
jets-5.0.1 lib/jets/stack/main/dsl/sns.rb
jets-5.0.0 lib/jets/stack/main/dsl/sns.rb
jets-4.0.10 lib/jets/stack/main/dsl/sns.rb
jets-5.0.0.beta1 lib/jets/stack/main/dsl/sns.rb
jets-4.0.9 lib/jets/stack/main/dsl/sns.rb
jets-4.0.8 lib/jets/stack/main/dsl/sns.rb