Class: Humidifier::SSMContacts::ContactChannel

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

Overview

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

#channel_addressObject

returns the ChannelAddress property



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

def channel_address
  properties['channel_address']
end

#channel_address=(value) ⇒ Object

sets the ChannelAddress property (String)



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

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

#channel_nameObject

returns the ChannelName property



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

def channel_name
  properties['channel_name']
end

#channel_name=(value) ⇒ Object

sets the ChannelName property (String)



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

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

#channel_typeObject

returns the ChannelType property



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

def channel_type
  properties['channel_type']
end

#channel_type=(value) ⇒ Object

sets the ChannelType property (String)



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

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

#contact_idObject

returns the ContactId property



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

def contact_id
  properties['contact_id']
end

#contact_id=(value) ⇒ Object

sets the ContactId property (String)



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

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

#defer_activationObject

returns the DeferActivation property



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

def defer_activation
  properties['defer_activation']
end

#defer_activation=(value) ⇒ Object

sets the DeferActivation property (Boolean)



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

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