Class: Humidifier::Lightsail::LoadBalancer
- Defined in:
- lib/humidifier/magic.rb
Overview
A dynamically-defined class that represents an AWS::Lightsail::LoadBalancer resource
Constant Summary
Constants inherited from Resource
Instance Method Summary collapse
-
#attached_instances ⇒ Object
returns the AttachedInstances property.
-
#attached_instances=(value) ⇒ Object
sets the AttachedInstances property (List).
-
#health_check_path ⇒ Object
returns the HealthCheckPath property.
-
#health_check_path=(value) ⇒ Object
sets the HealthCheckPath property (String).
-
#instance_port ⇒ Object
returns the InstancePort property.
-
#instance_port=(value) ⇒ Object
sets the InstancePort property (Integer).
-
#ip_address_type ⇒ Object
returns the IpAddressType property.
-
#ip_address_type=(value) ⇒ Object
sets the IpAddressType property (String).
-
#load_balancer_name ⇒ Object
returns the LoadBalancerName property.
-
#load_balancer_name=(value) ⇒ Object
sets the LoadBalancerName property (String).
-
#session_stickiness_enabled ⇒ Object
returns the SessionStickinessEnabled property.
-
#session_stickiness_enabled=(value) ⇒ Object
sets the SessionStickinessEnabled property (Boolean).
-
#session_stickiness_lb_cookie_duration_seconds ⇒ Object
returns the SessionStickinessLBCookieDurationSeconds property.
-
#session_stickiness_lb_cookie_duration_seconds=(value) ⇒ Object
sets the SessionStickinessLBCookieDurationSeconds property (String).
-
#tags ⇒ Object
returns the Tags property.
-
#tags=(value) ⇒ Object
sets the Tags property (List).
-
#tls_policy_name ⇒ Object
returns the TlsPolicyName property.
-
#tls_policy_name=(value) ⇒ Object
sets the TlsPolicyName 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
#attached_instances ⇒ Object
returns the AttachedInstances property
10 11 12 |
# File 'lib/humidifier/magic.rb', line 10 def attached_instances properties['attached_instances'] end |
#attached_instances=(value) ⇒ Object
sets the AttachedInstances property (List)
15 16 17 |
# File 'lib/humidifier/magic.rb', line 15 def attached_instances=(value) update_property('attached_instances', value) end |
#health_check_path ⇒ Object
returns the HealthCheckPath property
20 21 22 |
# File 'lib/humidifier/magic.rb', line 20 def health_check_path properties['health_check_path'] end |
#health_check_path=(value) ⇒ Object
sets the HealthCheckPath property (String)
25 26 27 |
# File 'lib/humidifier/magic.rb', line 25 def health_check_path=(value) update_property('health_check_path', value) end |
#instance_port ⇒ Object
returns the InstancePort property
30 31 32 |
# File 'lib/humidifier/magic.rb', line 30 def instance_port properties['instance_port'] end |
#instance_port=(value) ⇒ Object
sets the InstancePort property (Integer)
35 36 37 |
# File 'lib/humidifier/magic.rb', line 35 def instance_port=(value) update_property('instance_port', value) end |
#ip_address_type ⇒ Object
returns the IpAddressType property
40 41 42 |
# File 'lib/humidifier/magic.rb', line 40 def ip_address_type properties['ip_address_type'] end |
#ip_address_type=(value) ⇒ Object
sets the IpAddressType property (String)
45 46 47 |
# File 'lib/humidifier/magic.rb', line 45 def ip_address_type=(value) update_property('ip_address_type', value) end |
#load_balancer_name ⇒ Object
returns the LoadBalancerName property
50 51 52 |
# File 'lib/humidifier/magic.rb', line 50 def load_balancer_name properties['load_balancer_name'] end |
#load_balancer_name=(value) ⇒ Object
sets the LoadBalancerName property (String)
55 56 57 |
# File 'lib/humidifier/magic.rb', line 55 def load_balancer_name=(value) update_property('load_balancer_name', value) end |
#session_stickiness_enabled ⇒ Object
returns the SessionStickinessEnabled property
60 61 62 |
# File 'lib/humidifier/magic.rb', line 60 def session_stickiness_enabled properties['session_stickiness_enabled'] end |
#session_stickiness_enabled=(value) ⇒ Object
sets the SessionStickinessEnabled property (Boolean)
65 66 67 |
# File 'lib/humidifier/magic.rb', line 65 def session_stickiness_enabled=(value) update_property('session_stickiness_enabled', value) end |
#session_stickiness_lb_cookie_duration_seconds ⇒ Object
returns the SessionStickinessLBCookieDurationSeconds property
70 71 72 |
# File 'lib/humidifier/magic.rb', line 70 def properties['session_stickiness_lb_cookie_duration_seconds'] end |
#session_stickiness_lb_cookie_duration_seconds=(value) ⇒ Object
sets the SessionStickinessLBCookieDurationSeconds property (String)
75 76 77 |
# File 'lib/humidifier/magic.rb', line 75 def (value) update_property('session_stickiness_lb_cookie_duration_seconds', value) end |
#tags ⇒ Object
returns the Tags property
80 81 82 |
# File 'lib/humidifier/magic.rb', line 80 def properties['tags'] end |
#tags=(value) ⇒ Object
sets the Tags property (List)
85 86 87 |
# File 'lib/humidifier/magic.rb', line 85 def (value) update_property('tags', value) end |
#tls_policy_name ⇒ Object
returns the TlsPolicyName property
90 91 92 |
# File 'lib/humidifier/magic.rb', line 90 def tls_policy_name properties['tls_policy_name'] end |
#tls_policy_name=(value) ⇒ Object
sets the TlsPolicyName property (String)
95 96 97 |
# File 'lib/humidifier/magic.rb', line 95 def tls_policy_name=(value) update_property('tls_policy_name', value) end |