Class: Humidifier::EC2::Volume

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

Overview

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

#auto_enable_ioObject

returns the AutoEnableIO property



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

def auto_enable_io
  properties['auto_enable_io']
end

#auto_enable_io=(value) ⇒ Object

sets the AutoEnableIO property (Boolean)



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

def auto_enable_io=(value)
  update_property('auto_enable_io', 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

#encryptedObject

returns the Encrypted property



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

def encrypted
  properties['encrypted']
end

#encrypted=(value) ⇒ Object

sets the Encrypted property (Boolean)



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

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

#iopsObject

returns the Iops property



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

def iops
  properties['iops']
end

#iops=(value) ⇒ Object

sets the Iops property (Integer)



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

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

#kms_key_idObject

returns the KmsKeyId property



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

def kms_key_id
  properties['kms_key_id']
end

#kms_key_id=(value) ⇒ Object

sets the KmsKeyId property (String)



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

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

#multi_attach_enabledObject

returns the MultiAttachEnabled property



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

def multi_attach_enabled
  properties['multi_attach_enabled']
end

#multi_attach_enabled=(value) ⇒ Object

sets the MultiAttachEnabled property (Boolean)



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

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

#outpost_arnObject

returns the OutpostArn property



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

def outpost_arn
  properties['outpost_arn']
end

#outpost_arn=(value) ⇒ Object

sets the OutpostArn property (String)



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

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

#sizeObject

returns the Size property



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

def size
  properties['size']
end

#size=(value) ⇒ Object

sets the Size property (Integer)



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

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

#snapshot_idObject

returns the SnapshotId property



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

def snapshot_id
  properties['snapshot_id']
end

#snapshot_id=(value) ⇒ Object

sets the SnapshotId property (String)



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

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

#tagsObject

returns the Tags property



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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)



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

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

#throughputObject

returns the Throughput property



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

def throughput
  properties['throughput']
end

#throughput=(value) ⇒ Object

sets the Throughput property (Integer)



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

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

#volume_typeObject

returns the VolumeType property



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

def volume_type
  properties['volume_type']
end

#volume_type=(value) ⇒ Object

sets the VolumeType property (String)



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

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