Class: Humidifier::AutoScaling::LifecycleHook

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

Overview

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

#auto_scaling_group_nameObject

returns the AutoScalingGroupName property



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

def auto_scaling_group_name
  properties['auto_scaling_group_name']
end

#auto_scaling_group_name=(value) ⇒ Object

sets the AutoScalingGroupName property (String)



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

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

#default_resultObject

returns the DefaultResult property



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

def default_result
  properties['default_result']
end

#default_result=(value) ⇒ Object

sets the DefaultResult property (String)



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

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

#heartbeat_timeoutObject

returns the HeartbeatTimeout property



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

def heartbeat_timeout
  properties['heartbeat_timeout']
end

#heartbeat_timeout=(value) ⇒ Object

sets the HeartbeatTimeout property (Integer)



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

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

#lifecycle_hook_nameObject

returns the LifecycleHookName property



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

def lifecycle_hook_name
  properties['lifecycle_hook_name']
end

#lifecycle_hook_name=(value) ⇒ Object

sets the LifecycleHookName property (String)



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

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

#lifecycle_transitionObject

returns the LifecycleTransition property



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

def lifecycle_transition
  properties['lifecycle_transition']
end

#lifecycle_transition=(value) ⇒ Object

sets the LifecycleTransition property (String)



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

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

#notification_metadataObject

returns the NotificationMetadata property



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

def 
  properties['notification_metadata']
end

#notification_metadata=(value) ⇒ Object

sets the NotificationMetadata property (String)



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

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

#notification_target_arnObject

returns the NotificationTargetARN property



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

def notification_target_arn
  properties['notification_target_arn']
end

#notification_target_arn=(value) ⇒ Object

sets the NotificationTargetARN property (String)



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

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

#role_arnObject

returns the RoleARN property



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

def role_arn
  properties['role_arn']
end

#role_arn=(value) ⇒ Object

sets the RoleARN property (String)



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

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