Class: Humidifier::EC2::EC2Fleet
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::EC2::EC2Fleet resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#context ⇒ Object
returns the Context property.
-
#context=(value) ⇒ Object
sets the Context property (String).
-
#excess_capacity_termination_policy ⇒ Object
returns the ExcessCapacityTerminationPolicy property.
-
#excess_capacity_termination_policy=(value) ⇒ Object
sets the ExcessCapacityTerminationPolicy property (String).
-
#launch_template_configs ⇒ Object
returns the LaunchTemplateConfigs property.
-
#launch_template_configs=(value) ⇒ Object
sets the LaunchTemplateConfigs property (List).
-
#on_demand_options ⇒ Object
returns the OnDemandOptions property.
-
#on_demand_options=(value) ⇒ Object
sets the OnDemandOptions property (Structure).
-
#replace_unhealthy_instances ⇒ Object
returns the ReplaceUnhealthyInstances property.
-
#replace_unhealthy_instances=(value) ⇒ Object
sets the ReplaceUnhealthyInstances property (Boolean).
-
#spot_options ⇒ Object
returns the SpotOptions property.
-
#spot_options=(value) ⇒ Object
sets the SpotOptions property (Structure).
-
#tag_specifications ⇒ Object
returns the TagSpecifications property.
-
#tag_specifications=(value) ⇒ Object
sets the TagSpecifications property (List).
-
#target_capacity_specification ⇒ Object
returns the TargetCapacitySpecification property.
-
#target_capacity_specification=(value) ⇒ Object
sets the TargetCapacitySpecification property (Structure).
-
#terminate_instances_with_expiration ⇒ Object
returns the TerminateInstancesWithExpiration property.
-
#terminate_instances_with_expiration=(value) ⇒ Object
sets the TerminateInstancesWithExpiration property (Boolean).
-
#type ⇒ Object
returns the Type property.
-
#type=(value) ⇒ Object
sets the Type property (String).
-
#valid_from ⇒ Object
returns the ValidFrom property.
-
#valid_from=(value) ⇒ Object
sets the ValidFrom property (String).
-
#valid_until ⇒ Object
returns the ValidUntil property.
-
#valid_until=(value) ⇒ Object
sets the ValidUntil property (String).
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
#context ⇒ Object
returns the Context property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def context properties['context'] end |
#context=(value) ⇒ Object
sets the Context property (String)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def context=(value) update_property('context', value) end |
#excess_capacity_termination_policy ⇒ Object
returns the ExcessCapacityTerminationPolicy property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def excess_capacity_termination_policy properties['excess_capacity_termination_policy'] end |
#excess_capacity_termination_policy=(value) ⇒ Object
sets the ExcessCapacityTerminationPolicy property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def excess_capacity_termination_policy=(value) update_property('excess_capacity_termination_policy', value) end |
#launch_template_configs ⇒ Object
returns the LaunchTemplateConfigs property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def launch_template_configs properties['launch_template_configs'] end |
#launch_template_configs=(value) ⇒ Object
sets the LaunchTemplateConfigs property (List)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def launch_template_configs=(value) update_property('launch_template_configs', value) end |
#on_demand_options ⇒ Object
returns the OnDemandOptions property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def properties['on_demand_options'] end |
#on_demand_options=(value) ⇒ Object
sets the OnDemandOptions property (Structure)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def (value) update_property('on_demand_options', value) end |
#replace_unhealthy_instances ⇒ Object
returns the ReplaceUnhealthyInstances property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def replace_unhealthy_instances properties['replace_unhealthy_instances'] end |
#replace_unhealthy_instances=(value) ⇒ Object
sets the ReplaceUnhealthyInstances property (Boolean)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def replace_unhealthy_instances=(value) update_property('replace_unhealthy_instances', value) end |
#spot_options ⇒ Object
returns the SpotOptions property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def properties['spot_options'] end |
#spot_options=(value) ⇒ Object
sets the SpotOptions property (Structure)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def (value) update_property('spot_options', value) end |
#tag_specifications ⇒ Object
returns the TagSpecifications property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def tag_specifications properties['tag_specifications'] end |
#tag_specifications=(value) ⇒ Object
sets the TagSpecifications property (List)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def tag_specifications=(value) update_property('tag_specifications', value) end |
#target_capacity_specification ⇒ Object
returns the TargetCapacitySpecification property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def target_capacity_specification properties['target_capacity_specification'] end |
#target_capacity_specification=(value) ⇒ Object
sets the TargetCapacitySpecification property (Structure)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def target_capacity_specification=(value) update_property('target_capacity_specification', value) end |
#terminate_instances_with_expiration ⇒ Object
returns the TerminateInstancesWithExpiration property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def terminate_instances_with_expiration properties['terminate_instances_with_expiration'] end |
#terminate_instances_with_expiration=(value) ⇒ Object
sets the TerminateInstancesWithExpiration property (Boolean)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def terminate_instances_with_expiration=(value) update_property('terminate_instances_with_expiration', value) end |
#type ⇒ Object
returns the Type property
100 101 102 |
# File 'lib/humidifier/magic.rb', line 100 def type properties['type'] end |
#type=(value) ⇒ Object
sets the Type property (String)
105 106 107 |
# File 'lib/humidifier/magic.rb', line 105 def type=(value) update_property('type', value) end |
#valid_from ⇒ Object
returns the ValidFrom property
110 111 112 |
# File 'lib/humidifier/magic.rb', line 110 def valid_from properties['valid_from'] end |
#valid_from=(value) ⇒ Object
sets the ValidFrom property (String)
115 116 117 |
# File 'lib/humidifier/magic.rb', line 115 def valid_from=(value) update_property('valid_from', value) end |
#valid_until ⇒ Object
returns the ValidUntil property
120 121 122 |
# File 'lib/humidifier/magic.rb', line 120 def valid_until properties['valid_until'] end |
#valid_until=(value) ⇒ Object
sets the ValidUntil property (String)
125 126 127 |
# File 'lib/humidifier/magic.rb', line 125 def valid_until=(value) update_property('valid_until', value) end |