Class: Humidifier::EC2::CapacityReservation

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

Overview

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

#availability_zoneObject

returns the AvailabilityZone property



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

def availability_zone
  properties['availability_zone']
end

#availability_zone=(value) ⇒ Object

sets the AvailabilityZone property (String)



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

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

#ebs_optimizedObject

returns the EbsOptimized property



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

def ebs_optimized
  properties['ebs_optimized']
end

#ebs_optimized=(value) ⇒ Object

sets the EbsOptimized property (Boolean)



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

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

#end_dateObject

returns the EndDate property



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

def end_date
  properties['end_date']
end

#end_date=(value) ⇒ Object

sets the EndDate property (String)



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

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

#end_date_typeObject

returns the EndDateType property



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

def end_date_type
  properties['end_date_type']
end

#end_date_type=(value) ⇒ Object

sets the EndDateType property (String)



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

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

#ephemeral_storageObject

returns the EphemeralStorage property



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

def ephemeral_storage
  properties['ephemeral_storage']
end

#ephemeral_storage=(value) ⇒ Object

sets the EphemeralStorage property (Boolean)



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

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

#instance_countObject

returns the InstanceCount property



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

def instance_count
  properties['instance_count']
end

#instance_count=(value) ⇒ Object

sets the InstanceCount property (Integer)



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

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

#instance_match_criteriaObject

returns the InstanceMatchCriteria property



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

def instance_match_criteria
  properties['instance_match_criteria']
end

#instance_match_criteria=(value) ⇒ Object

sets the InstanceMatchCriteria property (String)



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

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

#instance_platformObject

returns the InstancePlatform property



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

def instance_platform
  properties['instance_platform']
end

#instance_platform=(value) ⇒ Object

sets the InstancePlatform property (String)



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

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

#instance_typeObject

returns the InstanceType property



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

def instance_type
  properties['instance_type']
end

#instance_type=(value) ⇒ Object

sets the InstanceType property (String)



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

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

#out_post_arnObject

returns the OutPostArn property



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

def out_post_arn
  properties['out_post_arn']
end

#out_post_arn=(value) ⇒ Object

sets the OutPostArn property (String)



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

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

#placement_group_arnObject

returns the PlacementGroupArn property



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

def placement_group_arn
  properties['placement_group_arn']
end

#placement_group_arn=(value) ⇒ Object

sets the PlacementGroupArn property (String)



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

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

#tag_specificationsObject

returns the TagSpecifications property



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

def tag_specifications
  properties['tag_specifications']
end

#tag_specifications=(value) ⇒ Object

sets the TagSpecifications property (List)



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

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

#tenancyObject

returns the Tenancy property



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

def tenancy
  properties['tenancy']
end

#tenancy=(value) ⇒ Object

sets the Tenancy property (String)



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

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