Class: Humidifier::EC2::EC2Fleet

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

Overview

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

#contextObject

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_policyObject

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_configsObject

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_optionsObject

returns the OnDemandOptions property



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

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

#replace_unhealthy_instancesObject

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_optionsObject

returns the SpotOptions property



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

def spot_options
  properties['spot_options']
end

#spot_options=(value) ⇒ Object

sets the SpotOptions property (Structure)



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

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

#tag_specificationsObject

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_specificationObject

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_expirationObject

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

#typeObject

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_fromObject

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_untilObject

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