Class: Humidifier::Redshift::EventSubscription
- Inherits:
-
Humidifier::Resource
- Object
- Humidifier::Resource
- Humidifier::Redshift::EventSubscription
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Redshift::EventSubscription resource
Constant Summary
Constants inherited from Humidifier::Resource
Humidifier::Resource::COMMON_ATTRIBUTES
Instance Method Summary collapse
-
#enabled ⇒ Object
returns the Enabled property.
-
#enabled=(value) ⇒ Object
sets the Enabled property (Boolean).
-
#event_categories ⇒ Object
returns the EventCategories property.
-
#event_categories=(value) ⇒ Object
sets the EventCategories property (List).
-
#severity ⇒ Object
returns the Severity property.
-
#severity=(value) ⇒ Object
sets the Severity property (String).
-
#sns_topic_arn ⇒ Object
returns the SnsTopicArn property.
-
#sns_topic_arn=(value) ⇒ Object
sets the SnsTopicArn property (String).
-
#source_ids ⇒ Object
returns the SourceIds property.
-
#source_ids=(value) ⇒ Object
sets the SourceIds property (List).
-
#source_type ⇒ Object
returns the SourceType property.
-
#source_type=(value) ⇒ Object
sets the SourceType property (String).
-
#subscription_name ⇒ Object
returns the SubscriptionName property.
-
#subscription_name=(value) ⇒ Object
sets the SubscriptionName property (String).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
Methods inherited from Humidifier::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
#enabled ⇒ Object
returns the Enabled property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def enabled properties['enabled'] end |
#enabled=(value) ⇒ Object
sets the Enabled property (Boolean)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def enabled=(value) update_property('enabled', value) end |
#event_categories ⇒ Object
returns the EventCategories property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def event_categories properties['event_categories'] end |
#event_categories=(value) ⇒ Object
sets the EventCategories property (List)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def event_categories=(value) update_property('event_categories', value) end |
#severity ⇒ Object
returns the Severity property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def severity properties['severity'] end |
#severity=(value) ⇒ Object
sets the Severity property (String)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def severity=(value) update_property('severity', value) end |
#sns_topic_arn ⇒ Object
returns the SnsTopicArn property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def sns_topic_arn properties['sns_topic_arn'] end |
#sns_topic_arn=(value) ⇒ Object
sets the SnsTopicArn property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def sns_topic_arn=(value) update_property('sns_topic_arn', value) end |
#source_ids ⇒ Object
returns the SourceIds property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def source_ids properties['source_ids'] end |
#source_ids=(value) ⇒ Object
sets the SourceIds property (List)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def source_ids=(value) update_property('source_ids', value) end |
#source_type ⇒ Object
returns the SourceType property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def source_type properties['source_type'] end |
#source_type=(value) ⇒ Object
sets the SourceType property (String)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def source_type=(value) update_property('source_type', value) end |
#subscription_name ⇒ Object
returns the SubscriptionName property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def subscription_name properties['subscription_name'] end |
#subscription_name=(value) ⇒ Object
sets the SubscriptionName property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def subscription_name=(value) update_property('subscription_name', value) end |
#tags ⇒ Object
returns the Tags property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def (value) update_property('tags', value) end |