Class: Waterworks::SnsAlarm
- Inherits:
-
PipelineObject
- Object
- PipelineObject
- Waterworks::SnsAlarm
- Defined in:
- lib/waterworks/actions/sns_alarm.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id = nil, name = nil) ⇒ SnsAlarm
constructor
A new instance of SnsAlarm.
Methods inherited from PipelineObject
#<=>, base_attrs, #collect_attrs!, from_hash, from_json, #set_attrs, #sourceify, #to_fhash, #to_hash, #to_json
Constructor Details
#initialize(id = nil, name = nil) ⇒ SnsAlarm
Returns a new instance of SnsAlarm.
18 19 20 |
# File 'lib/waterworks/actions/sns_alarm.rb', line 18 def initialize(id = nil, name = nil) super(id, name).set_attrs(type: 'SnsAlarm') end |
Class Method Details
.safe_fields ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/waterworks/actions/sns_alarm.rb', line 5 def self.safe_fields { parent: :ref, message: :string, role: :string, subject: :string, topicArn: :string, type: :string, }.merge superclass.safe_fields end |