Class: Humidifier::SNS::Subscription

Inherits:
Resource
  • Object
show all
Defined in:
lib/humidifier/magic.rb

Overview

A dynamically-defined class that represents an AWS::SNS::Subscription resource

AWS Resource:

Constant Summary

Constants inherited from Resource

Resource::COMMON_ATTRIBUTES

Instance Method Summary collapse

Methods inherited from Resource

#initialize, #method_missing, prop?, #respond_to_missing?, #to_cf, #update, #update_attributes, #update_property

Constructor Details

This class inherits a constructor from Humidifier::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Humidifier::Resource

Instance Method Details

#delivery_policyObject

returns the DeliveryPolicy property



10
11
12
# File 'lib/humidifier/magic.rb', line 10

def delivery_policy
  properties['delivery_policy']
end

#delivery_policy=(value) ⇒ Object

sets the DeliveryPolicy property (Json)



15
16
17
# File 'lib/humidifier/magic.rb', line 15

def delivery_policy=(value)
  update_property('delivery_policy', value)
end

#endpointObject

returns the Endpoint property



20
21
22
# File 'lib/humidifier/magic.rb', line 20

def endpoint
  properties['endpoint']
end

#endpoint=(value) ⇒ Object

sets the Endpoint property (String)



25
26
27
# File 'lib/humidifier/magic.rb', line 25

def endpoint=(value)
  update_property('endpoint', value)
end

#filter_policyObject

returns the FilterPolicy property



30
31
32
# File 'lib/humidifier/magic.rb', line 30

def filter_policy
  properties['filter_policy']
end

#filter_policy=(value) ⇒ Object

sets the FilterPolicy property (Json)



35
36
37
# File 'lib/humidifier/magic.rb', line 35

def filter_policy=(value)
  update_property('filter_policy', value)
end

#protocolObject

returns the Protocol property



40
41
42
# File 'lib/humidifier/magic.rb', line 40

def protocol
  properties['protocol']
end

#protocol=(value) ⇒ Object

sets the Protocol property (String)



45
46
47
# File 'lib/humidifier/magic.rb', line 45

def protocol=(value)
  update_property('protocol', value)
end

#raw_message_deliveryObject

returns the RawMessageDelivery property



50
51
52
# File 'lib/humidifier/magic.rb', line 50

def raw_message_delivery
  properties['raw_message_delivery']
end

#raw_message_delivery=(value) ⇒ Object

sets the RawMessageDelivery property (Boolean)



55
56
57
# File 'lib/humidifier/magic.rb', line 55

def raw_message_delivery=(value)
  update_property('raw_message_delivery', value)
end

#redrive_policyObject

returns the RedrivePolicy property



60
61
62
# File 'lib/humidifier/magic.rb', line 60

def redrive_policy
  properties['redrive_policy']
end

#redrive_policy=(value) ⇒ Object

sets the RedrivePolicy property (Json)



65
66
67
# File 'lib/humidifier/magic.rb', line 65

def redrive_policy=(value)
  update_property('redrive_policy', value)
end

#regionObject

returns the Region property



70
71
72
# File 'lib/humidifier/magic.rb', line 70

def region
  properties['region']
end

#region=(value) ⇒ Object

sets the Region property (String)



75
76
77
# File 'lib/humidifier/magic.rb', line 75

def region=(value)
  update_property('region', value)
end

#subscription_role_arnObject

returns the SubscriptionRoleArn property



80
81
82
# File 'lib/humidifier/magic.rb', line 80

def subscription_role_arn
  properties['subscription_role_arn']
end

#subscription_role_arn=(value) ⇒ Object

sets the SubscriptionRoleArn property (String)



85
86
87
# File 'lib/humidifier/magic.rb', line 85

def subscription_role_arn=(value)
  update_property('subscription_role_arn', value)
end

#topic_arnObject

returns the TopicArn property



90
91
92
# File 'lib/humidifier/magic.rb', line 90

def topic_arn
  properties['topic_arn']
end

#topic_arn=(value) ⇒ Object

sets the TopicArn property (String)



95
96
97
# File 'lib/humidifier/magic.rb', line 95

def topic_arn=(value)
  update_property('topic_arn', value)
end