Class: Humidifier::AutoScaling::WarmPool

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

Overview

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

returns the AutoScalingGroupName property



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

def auto_scaling_group_name
  properties['auto_scaling_group_name']
end

#auto_scaling_group_name=(value) ⇒ Object

sets the AutoScalingGroupName property (String)



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

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

#instance_reuse_policyObject

returns the InstanceReusePolicy property



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

def instance_reuse_policy
  properties['instance_reuse_policy']
end

#instance_reuse_policy=(value) ⇒ Object

sets the InstanceReusePolicy property (Structure)



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

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

#max_group_prepared_capacityObject

returns the MaxGroupPreparedCapacity property



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

def max_group_prepared_capacity
  properties['max_group_prepared_capacity']
end

#max_group_prepared_capacity=(value) ⇒ Object

sets the MaxGroupPreparedCapacity property (Integer)



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

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

#min_sizeObject

returns the MinSize property



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

def min_size
  properties['min_size']
end

#min_size=(value) ⇒ Object

sets the MinSize property (Integer)



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

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

#pool_stateObject

returns the PoolState property



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

def pool_state
  properties['pool_state']
end

#pool_state=(value) ⇒ Object

sets the PoolState property (String)



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

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