class Aws::Lightsail::Types::LoadBalancer

Describes a load balancer.

@!attribute [rw] name

The name of the load balancer (e.g., `my-load-balancer`).
@return [String]

@!attribute [rw] arn

The Amazon Resource Name (ARN) of the load balancer.
@return [String]

@!attribute [rw] support_code

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.
@return [String]

@!attribute [rw] created_at

The date when your load balancer was created.
@return [Time]

@!attribute [rw] location

The AWS Region where your load balancer was created (e.g.,
`us-east-2a`). Lightsail automatically creates your load balancer
across Availability Zones.
@return [Types::ResourceLocation]

@!attribute [rw] resource_type

The resource type (e.g., `LoadBalancer`.
@return [String]

@!attribute [rw] tags

The tag keys and optional values for the resource. For more
information about tags in Lightsail, see the [Amazon Lightsail
Developer Guide][1].

[1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
@return [Array<Types::Tag>]

@!attribute [rw] dns_name

The DNS name of your Lightsail load balancer.
@return [String]

@!attribute [rw] state

The status of your load balancer. Valid values are below.
@return [String]

@!attribute [rw] protocol

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`.
@return [String]

@!attribute [rw] public_ports

An array of public port settings for your load balancer. For HTTP,
use port 80. For HTTPS, use port 443.
@return [Array<Integer>]

@!attribute [rw] health_check_path

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.
@return [String]

@!attribute [rw] instance_port

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.
@return [Integer]

@!attribute [rw] instance_health_summary

An array of InstanceHealthSummary objects describing the health of
the load balancer.
@return [Array<Types::InstanceHealthSummary>]

@!attribute [rw] tls_certificate_summaries

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.
@return [Array<Types::LoadBalancerTlsCertificateSummary>]

@!attribute [rw] configuration_options

A string to string map of the configuration options for your load
balancer. Valid values are listed below.
@return [Hash<String,String>]

@!attribute [rw] ip_address_type

The IP address type of the load balancer.

The possible values are `ipv4` for IPv4 only, and `dualstack` for
IPv4 and IPv6.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancer AWS API Documentation

Constants

SENSITIVE