Class: Humidifier::SNS::Topic

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

Overview

A dynamically-defined class that represents an AWS::SNS::Topic 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

#content_based_deduplicationObject

returns the ContentBasedDeduplication property



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

def content_based_deduplication
  properties['content_based_deduplication']
end

#content_based_deduplication=(value) ⇒ Object

sets the ContentBasedDeduplication property (Boolean)



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

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

#display_nameObject

returns the DisplayName property



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

def display_name
  properties['display_name']
end

#display_name=(value) ⇒ Object

sets the DisplayName property (String)



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

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

#fifo_topicObject

returns the FifoTopic property



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

def fifo_topic
  properties['fifo_topic']
end

#fifo_topic=(value) ⇒ Object

sets the FifoTopic property (Boolean)



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

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

#kms_master_key_idObject

returns the KmsMasterKeyId property



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

def kms_master_key_id
  properties['kms_master_key_id']
end

#kms_master_key_id=(value) ⇒ Object

sets the KmsMasterKeyId property (String)



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

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

#subscriptionObject

returns the Subscription property



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

def subscription
  properties['subscription']
end

#subscription=(value) ⇒ Object

sets the Subscription property (List)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#topic_nameObject

returns the TopicName property



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

def topic_name
  properties['topic_name']
end

#topic_name=(value) ⇒ Object

sets the TopicName property (String)



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

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