Class: Humidifier::OpsWorks::Instance

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

Overview

A dynamically-defined class that represents an AWS::OpsWorks::Instance resource

AWS 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

#agent_versionObject

returns the AgentVersion property



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

def agent_version
  properties['agent_version']
end

#agent_version=(value) ⇒ Object

sets the AgentVersion property (String)



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

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

#ami_idObject

returns the AmiId property



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

def ami_id
  properties['ami_id']
end

#ami_id=(value) ⇒ Object

sets the AmiId property (String)



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

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

#architectureObject

returns the Architecture property



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

def architecture
  properties['architecture']
end

#architecture=(value) ⇒ Object

sets the Architecture property (String)



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

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

#auto_scaling_typeObject

returns the AutoScalingType property



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

def auto_scaling_type
  properties['auto_scaling_type']
end

#auto_scaling_type=(value) ⇒ Object

sets the AutoScalingType property (String)



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

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

#availability_zoneObject

returns the AvailabilityZone property



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

def availability_zone
  properties['availability_zone']
end

#availability_zone=(value) ⇒ Object

sets the AvailabilityZone property (String)



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

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

#block_device_mappingsObject

returns the BlockDeviceMappings property



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

def block_device_mappings
  properties['block_device_mappings']
end

#block_device_mappings=(value) ⇒ Object

sets the BlockDeviceMappings property (List)



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

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

#ebs_optimizedObject

returns the EbsOptimized property



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

def ebs_optimized
  properties['ebs_optimized']
end

#ebs_optimized=(value) ⇒ Object

sets the EbsOptimized property (Boolean)



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

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

#elastic_ipsObject

returns the ElasticIps property



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

def elastic_ips
  properties['elastic_ips']
end

#elastic_ips=(value) ⇒ Object

sets the ElasticIps property (List)



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

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

#hostnameObject

returns the Hostname property



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

def hostname
  properties['hostname']
end

#hostname=(value) ⇒ Object

sets the Hostname property (String)



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

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

#install_updates_on_bootObject

returns the InstallUpdatesOnBoot property



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

def install_updates_on_boot
  properties['install_updates_on_boot']
end

#install_updates_on_boot=(value) ⇒ Object

sets the InstallUpdatesOnBoot property (Boolean)



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

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

#instance_typeObject

returns the InstanceType property



110
111
112
# File 'lib/humidifier/magic.rb', line 110

def instance_type
  properties['instance_type']
end

#instance_type=(value) ⇒ Object

sets the InstanceType property (String)



115
116
117
# File 'lib/humidifier/magic.rb', line 115

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

#layer_idsObject

returns the LayerIds property



120
121
122
# File 'lib/humidifier/magic.rb', line 120

def layer_ids
  properties['layer_ids']
end

#layer_ids=(value) ⇒ Object

sets the LayerIds property (List)



125
126
127
# File 'lib/humidifier/magic.rb', line 125

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

#osObject

returns the Os property



130
131
132
# File 'lib/humidifier/magic.rb', line 130

def os
  properties['os']
end

#os=(value) ⇒ Object

sets the Os property (String)



135
136
137
# File 'lib/humidifier/magic.rb', line 135

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

#root_device_typeObject

returns the RootDeviceType property



140
141
142
# File 'lib/humidifier/magic.rb', line 140

def root_device_type
  properties['root_device_type']
end

#root_device_type=(value) ⇒ Object

sets the RootDeviceType property (String)



145
146
147
# File 'lib/humidifier/magic.rb', line 145

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

#ssh_key_nameObject

returns the SshKeyName property



150
151
152
# File 'lib/humidifier/magic.rb', line 150

def ssh_key_name
  properties['ssh_key_name']
end

#ssh_key_name=(value) ⇒ Object

sets the SshKeyName property (String)



155
156
157
# File 'lib/humidifier/magic.rb', line 155

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

#stack_idObject

returns the StackId property



160
161
162
# File 'lib/humidifier/magic.rb', line 160

def stack_id
  properties['stack_id']
end

#stack_id=(value) ⇒ Object

sets the StackId property (String)



165
166
167
# File 'lib/humidifier/magic.rb', line 165

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

#subnet_idObject

returns the SubnetId property



170
171
172
# File 'lib/humidifier/magic.rb', line 170

def subnet_id
  properties['subnet_id']
end

#subnet_id=(value) ⇒ Object

sets the SubnetId property (String)



175
176
177
# File 'lib/humidifier/magic.rb', line 175

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

#tenancyObject

returns the Tenancy property



180
181
182
# File 'lib/humidifier/magic.rb', line 180

def tenancy
  properties['tenancy']
end

#tenancy=(value) ⇒ Object

sets the Tenancy property (String)



185
186
187
# File 'lib/humidifier/magic.rb', line 185

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

#time_based_auto_scalingObject

returns the TimeBasedAutoScaling property



190
191
192
# File 'lib/humidifier/magic.rb', line 190

def time_based_auto_scaling
  properties['time_based_auto_scaling']
end

#time_based_auto_scaling=(value) ⇒ Object

sets the TimeBasedAutoScaling property (Structure)



195
196
197
# File 'lib/humidifier/magic.rb', line 195

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

#virtualization_typeObject

returns the VirtualizationType property



200
201
202
# File 'lib/humidifier/magic.rb', line 200

def virtualization_type
  properties['virtualization_type']
end

#virtualization_type=(value) ⇒ Object

sets the VirtualizationType property (String)



205
206
207
# File 'lib/humidifier/magic.rb', line 205

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

#volumesObject

returns the Volumes property



210
211
212
# File 'lib/humidifier/magic.rb', line 210

def volumes
  properties['volumes']
end

#volumes=(value) ⇒ Object

sets the Volumes property (List)



215
216
217
# File 'lib/humidifier/magic.rb', line 215

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