Class: Humidifier::Lightsail::Instance

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

Overview

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

#add_onsObject

returns the AddOns property



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

def add_ons
  properties['add_ons']
end

#add_ons=(value) ⇒ Object

sets the AddOns property (List)



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

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

#availability_zoneObject

returns the AvailabilityZone property



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

def availability_zone
  properties['availability_zone']
end

#availability_zone=(value) ⇒ Object

sets the AvailabilityZone property (String)



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

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

#blueprint_idObject

returns the BlueprintId property



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

def blueprint_id
  properties['blueprint_id']
end

#blueprint_id=(value) ⇒ Object

sets the BlueprintId property (String)



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

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

#bundle_idObject

returns the BundleId property



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

def bundle_id
  properties['bundle_id']
end

#bundle_id=(value) ⇒ Object

sets the BundleId property (String)



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

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

#hardwareObject

returns the Hardware property



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

def hardware
  properties['hardware']
end

#hardware=(value) ⇒ Object

sets the Hardware property (Structure)



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

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

#instance_nameObject

returns the InstanceName property



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

def instance_name
  properties['instance_name']
end

#instance_name=(value) ⇒ Object

sets the InstanceName property (String)



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

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

#key_pair_nameObject

returns the KeyPairName property



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

def key_pair_name
  properties['key_pair_name']
end

#key_pair_name=(value) ⇒ Object

sets the KeyPairName property (String)



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

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

#networkingObject

returns the Networking property



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

def networking
  properties['networking']
end

#networking=(value) ⇒ Object

sets the Networking property (Structure)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#user_dataObject

returns the UserData property



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

def user_data
  properties['user_data']
end

#user_data=(value) ⇒ Object

sets the UserData property (String)



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

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