Sha256: e70881210b8a7198b24c3c9263f619965661afb72e6302887f958748241a95cd

Contents?: true

Size: 822 Bytes

Versions: 3

Compression:

Stored size: 822 Bytes

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        # @example
        #   sns_subscription 'MySubscription' do
        #     endpoint 'failures@example.com'
        #     protocol 'email'
        #     topic_arn 'arn:aws:sns:us-west-2:123456789012:example-topic'
        #     filter_policy 'Type' => 'Notification', 'MessageId' => 'e3c4e17a-819b-5d95-a0e8-b306c25afda0', 'MessageAttributes' => [{' AttributeName' => 'Name', 'KeyType' => 'HASH' }],
        #   end
        class SNSSubscription < Resource
          type 'AWS::SNS::Subscription'
          property :endpoint, 'Endpoint'
          property :protocol, 'Protocol'
          property :topic_arn, 'TopicArn'
          property :filter_policy, 'FilterPolicy'
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
convection-2.3.1 lib/convection/model/template/resource/aws_sns_subscription.rb
convection-2.3.0 lib/convection/model/template/resource/aws_sns_subscription.rb
convection-2.2.29 lib/convection/model/template/resource/aws_sns_subscription.rb