Class: Humidifier::CodeStarNotifications::NotificationRule

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

Overview

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

#created_byObject

returns the CreatedBy property



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

def created_by
  properties['created_by']
end

#created_by=(value) ⇒ Object

sets the CreatedBy property (String)



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

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

#detail_typeObject

returns the DetailType property



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

def detail_type
  properties['detail_type']
end

#detail_type=(value) ⇒ Object

sets the DetailType property (String)



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

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

#event_type_idObject

returns the EventTypeId property



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

def event_type_id
  properties['event_type_id']
end

#event_type_id=(value) ⇒ Object

sets the EventTypeId property (String)



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

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

#event_type_idsObject

returns the EventTypeIds property



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

def event_type_ids
  properties['event_type_ids']
end

#event_type_ids=(value) ⇒ Object

sets the EventTypeIds property (List)



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

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

#nameObject

returns the Name property



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

def name
  properties['name']
end

#name=(value) ⇒ Object

sets the Name property (String)



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

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

#resourceObject

returns the Resource property



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

def resource
  properties['resource']
end

#resource=(value) ⇒ Object

sets the Resource property (String)



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

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

#statusObject

returns the Status property



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

def status
  properties['status']
end

#status=(value) ⇒ Object

sets the Status property (String)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (Json)



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

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

#target_addressObject

returns the TargetAddress property



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

def target_address
  properties['target_address']
end

#target_address=(value) ⇒ Object

sets the TargetAddress property (String)



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

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

#targetsObject

returns the Targets property



100
101
102
# File 'lib/humidifier/magic.rb', line 100

def targets
  properties['targets']
end

#targets=(value) ⇒ Object

sets the Targets property (List)



105
106
107
# File 'lib/humidifier/magic.rb', line 105

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