LoadBalancer

Describes a load balancer.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String?

The Amazon Resource Name (ARN) of the load balancer.

Link copied to clipboard

A string to string map of the configuration options for your load balancer. Valid values are listed below.

Link copied to clipboard

The date when your load balancer was created.

Link copied to clipboard

The DNS name of your Lightsail load balancer.

Link copied to clipboard

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.

Link copied to clipboard

A Boolean value that indicates whether HTTPS redirection is enabled for the load balancer.

Link copied to clipboard

An array of InstanceHealthSummary objects describing the health of the load balancer.

Link copied to clipboard

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.

Link copied to clipboard

The IP address type of the load balancer.

Link copied to clipboard

The AWS Region where your load balancer was created (us-east-2a). Lightsail automatically creates your load balancer across Availability Zones.

Link copied to clipboard
val name: String?

The name of the load balancer (my-load-balancer).

Link copied to clipboard

The protocol you have enabled for your load balancer. Valid values are below.

Link copied to clipboard

An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.

Link copied to clipboard

The resource type (LoadBalancer.

Link copied to clipboard

The status of your load balancer. Valid values are below.

Link copied to clipboard

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.

Link copied to clipboard
val tags: List<Tag>?

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

Link copied to clipboard

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.

Link copied to clipboard

The name of the TLS security policy for the load balancer.

Functions

Link copied to clipboard
inline fun copy(block: LoadBalancer.Builder.() -> Unit = {}): LoadBalancer
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String