Class: Humidifier::OpsWorks::Instance
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::OpsWorks::Instance resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
- 
  
    
      #agent_version  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the AgentVersion property. 
- 
  
    
      #agent_version=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the AgentVersion property (String). 
- 
  
    
      #ami_id  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the AmiId property. 
- 
  
    
      #ami_id=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the AmiId property (String). 
- 
  
    
      #architecture  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the Architecture property. 
- 
  
    
      #architecture=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the Architecture property (String). 
- 
  
    
      #auto_scaling_type  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the AutoScalingType property. 
- 
  
    
      #auto_scaling_type=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the AutoScalingType property (String). 
- 
  
    
      #availability_zone  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the AvailabilityZone property. 
- 
  
    
      #availability_zone=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the AvailabilityZone property (String). 
- 
  
    
      #block_device_mappings  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the BlockDeviceMappings property. 
- 
  
    
      #block_device_mappings=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the BlockDeviceMappings property (List). 
- 
  
    
      #ebs_optimized  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the EbsOptimized property. 
- 
  
    
      #ebs_optimized=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the EbsOptimized property (Boolean). 
- 
  
    
      #elastic_ips  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the ElasticIps property. 
- 
  
    
      #elastic_ips=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the ElasticIps property (List). 
- 
  
    
      #hostname  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the Hostname property. 
- 
  
    
      #hostname=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the Hostname property (String). 
- 
  
    
      #install_updates_on_boot  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the InstallUpdatesOnBoot property. 
- 
  
    
      #install_updates_on_boot=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the InstallUpdatesOnBoot property (Boolean). 
- 
  
    
      #instance_type  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the InstanceType property. 
- 
  
    
      #instance_type=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the InstanceType property (String). 
- 
  
    
      #layer_ids  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the LayerIds property. 
- 
  
    
      #layer_ids=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the LayerIds property (List). 
- 
  
    
      #os  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the Os property. 
- 
  
    
      #os=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the Os property (String). 
- 
  
    
      #root_device_type  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the RootDeviceType property. 
- 
  
    
      #root_device_type=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the RootDeviceType property (String). 
- 
  
    
      #ssh_key_name  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the SshKeyName property. 
- 
  
    
      #ssh_key_name=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the SshKeyName property (String). 
- 
  
    
      #stack_id  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the StackId property. 
- 
  
    
      #stack_id=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the StackId property (String). 
- 
  
    
      #subnet_id  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the SubnetId property. 
- 
  
    
      #subnet_id=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the SubnetId property (String). 
- 
  
    
      #tenancy  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the Tenancy property. 
- 
  
    
      #tenancy=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the Tenancy property (String). 
- 
  
    
      #time_based_auto_scaling  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the TimeBasedAutoScaling property. 
- 
  
    
      #time_based_auto_scaling=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the TimeBasedAutoScaling property (Structure). 
- 
  
    
      #virtualization_type  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the VirtualizationType property. 
- 
  
    
      #virtualization_type=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the VirtualizationType property (String). 
- 
  
    
      #volumes  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    returns the Volumes property. 
- 
  
    
      #volumes=(value)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    sets the Volumes property (List). 
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_version ⇒ Object
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_id ⇒ Object
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 | 
#architecture ⇒ Object
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_type ⇒ Object
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_zone ⇒ Object
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_mappings ⇒ Object
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_optimized ⇒ Object
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_ips ⇒ Object
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 | 
#hostname ⇒ Object
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_boot ⇒ Object
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_type ⇒ Object
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_ids ⇒ Object
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 | 
#os ⇒ Object
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_type ⇒ Object
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_name ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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 | 
#tenancy ⇒ Object
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_scaling ⇒ Object
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_type ⇒ Object
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 | 
#volumes ⇒ Object
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 |