Class: Aws::Lightsail::Types::LoadBalancer
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::LoadBalancer
- Defined in:
- gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb
Overview
Describes a load balancer.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#arn ⇒ String
The Amazon Resource Name (ARN) of the load balancer.
-
#configuration_options ⇒ Hash<String,String>
A string to string map of the configuration options for your load balancer.
-
#created_at ⇒ Time
The date when your load balancer was created.
-
#dns_name ⇒ String
The DNS name of your Lightsail load balancer.
-
#health_check_path ⇒ String
The path you specified to perform your health checks.
-
#https_redirection_enabled ⇒ Boolean
A Boolean value that indicates whether HTTPS redirection is enabled for the load balancer.
-
#instance_health_summary ⇒ Array<Types::InstanceHealthSummary>
An array of InstanceHealthSummary objects describing the health of the load balancer.
-
#instance_port ⇒ Integer
The port where the load balancer will direct traffic to your Lightsail instances.
-
#ip_address_type ⇒ String
The IP address type of the load balancer.
-
#location ⇒ Types::ResourceLocation
The AWS Region where your load balancer was created (
us-east-2a
). -
#name ⇒ String
The name of the load balancer (
my-load-balancer
). -
#protocol ⇒ String
The protocol you have enabled for your load balancer.
-
#public_ports ⇒ Array<Integer>
An array of public port settings for your load balancer.
-
#resource_type ⇒ String
The resource type (
LoadBalancer
.. -
#state ⇒ String
The status of your load balancer.
-
#support_code ⇒ String
The support code.
-
#tags ⇒ Array<Types::Tag>
The tag keys and optional values for the resource.
-
#tls_certificate_summaries ⇒ Array<Types::LoadBalancerTlsCertificateSummary>
An array of LoadBalancerTlsCertificateSummary objects that provide additional information about the SSL/TLS certificates.
-
#tls_policy_name ⇒ String
The name of the TLS security policy for the load balancer.
Instance Attribute Details
#arn ⇒ String
The Amazon Resource Name (ARN) of the load balancer.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#configuration_options ⇒ Hash<String,String>
A string to string map of the configuration options for your load balancer. Valid values are listed below.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#created_at ⇒ Time
The date when your load balancer was created.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#dns_name ⇒ String
The DNS name of your Lightsail load balancer.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#health_check_path ⇒ String
The path you specified to perform your health checks. If no path is specified, the load balancer tries to make a request to the default (root) page.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#https_redirection_enabled ⇒ Boolean
A Boolean value that indicates whether HTTPS redirection is enabled for the load balancer.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#instance_health_summary ⇒ Array<Types::InstanceHealthSummary>
An array of InstanceHealthSummary objects describing the health of the load balancer.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#instance_port ⇒ Integer
The port where the load balancer will direct traffic to your Lightsail instances. For HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#ip_address_type ⇒ String
The IP address type of the load balancer.
The possible values are ipv4
for IPv4 only, and dualstack
for
IPv4 and IPv6.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#location ⇒ Types::ResourceLocation
The AWS Region where your load balancer was created (us-east-2a
).
Lightsail automatically creates your load balancer across
Availability Zones.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the load balancer (my-load-balancer
).
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#protocol ⇒ String
The protocol you have enabled for your load balancer. Valid values are below.
You can't just have HTTP_HTTPS
, but you can have just HTTP
.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#public_ports ⇒ Array<Integer>
An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#resource_type ⇒ String
The resource type (LoadBalancer
.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#state ⇒ String
The status of your load balancer. Valid values are below.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#support_code ⇒ String
The support code. Include this code in your email to support when you have questions about your Lightsail load balancer. This code enables our support team to look up your Lightsail information more easily.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#tls_certificate_summaries ⇒ Array<Types::LoadBalancerTlsCertificateSummary>
An array of LoadBalancerTlsCertificateSummary objects that provide
additional information about the SSL/TLS certificates. For example,
if true
, the certificate is attached to the load balancer.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |
#tls_policy_name ⇒ String
The name of the TLS security policy for the load balancer.
11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 |
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11157 class LoadBalancer < Struct.new( :name, :arn, :support_code, :created_at, :location, :resource_type, :tags, :dns_name, :state, :protocol, :public_ports, :health_check_path, :instance_port, :instance_health_summary, :tls_certificate_summaries, :configuration_options, :ip_address_type, :https_redirection_enabled, :tls_policy_name) SENSITIVE = [] include Aws::Structure end |