Class: Humidifier::CE::AnomalySubscription

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

Overview

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

#frequencyObject

returns the Frequency property



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

def frequency
  properties['frequency']
end

#frequency=(value) ⇒ Object

sets the Frequency property (String)



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

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

#monitor_arn_listObject

returns the MonitorArnList property



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

def monitor_arn_list
  properties['monitor_arn_list']
end

#monitor_arn_list=(value) ⇒ Object

sets the MonitorArnList property (List)



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

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

#resource_tagsObject

returns the ResourceTags property



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

def resource_tags
  properties['resource_tags']
end

#resource_tags=(value) ⇒ Object

sets the ResourceTags property (List)



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

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

#subscribersObject

returns the Subscribers property



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

def subscribers
  properties['subscribers']
end

#subscribers=(value) ⇒ Object

sets the Subscribers property (List)



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

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

#subscription_nameObject

returns the SubscriptionName property



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

def subscription_name
  properties['subscription_name']
end

#subscription_name=(value) ⇒ Object

sets the SubscriptionName property (String)



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

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

#thresholdObject

returns the Threshold property



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

def threshold
  properties['threshold']
end

#threshold=(value) ⇒ Object

sets the Threshold property (Double)



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

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