Class: Humidifier::Lightsail::LoadBalancer

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

Overview

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

#attached_instancesObject

returns the AttachedInstances property

[View source]

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)

[View source]

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

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

#health_check_pathObject

returns the HealthCheckPath property

[View source]

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)

[View source]

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

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

#instance_portObject

returns the InstancePort property

[View source]

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)

[View source]

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

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

#ip_address_typeObject

returns the IpAddressType property

[View source]

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)

[View source]

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

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

#load_balancer_nameObject

returns the LoadBalancerName property

[View source]

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)

[View source]

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

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

#session_stickiness_enabledObject

returns the SessionStickinessEnabled property

[View source]

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)

[View source]

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

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

returns the SessionStickinessLBCookieDurationSeconds property

[View source]

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

def session_stickiness_lb_cookie_duration_seconds
  properties['session_stickiness_lb_cookie_duration_seconds']
end

sets the SessionStickinessLBCookieDurationSeconds property (String)

[View source]

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

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

#tagsObject

returns the Tags property

[View source]

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

def tags
  properties['tags']
end

#tags=(value) ⇒ Object

sets the Tags property (List)

[View source]

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

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

#tls_policy_nameObject

returns the TlsPolicyName property

[View source]

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)

[View source]

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

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