logo
pub struct LoadBalancer {
Show 17 fields pub arn: Option<String>, pub configuration_options: Option<HashMap<String, String>>, pub created_at: Option<f64>, pub dns_name: Option<String>, pub health_check_path: Option<String>, pub instance_health_summary: Option<Vec<InstanceHealthSummary>>, pub instance_port: Option<i64>, pub ip_address_type: Option<String>, pub location: Option<ResourceLocation>, pub name: Option<String>, pub protocol: Option<String>, pub public_ports: Option<Vec<i64>>, pub resource_type: Option<String>, pub state: Option<String>, pub support_code: Option<String>, pub tags: Option<Vec<Tag>>, pub tls_certificate_summaries: Option<Vec<LoadBalancerTlsCertificateSummary>>,
}
Expand description

Describes the Lightsail load balancer.

Fields

arn: Option<String>

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

configuration_options: Option<HashMap<String, String>>

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

created_at: Option<f64>

The date when your load balancer was created.

dns_name: Option<String>

The DNS name of your Lightsail load balancer.

health_check_path: Option<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.

instance_health_summary: Option<Vec<InstanceHealthSummary>>

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

instance_port: Option<i64>

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.

ip_address_type: Option<String>

The IP address type of the load balancer.

The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.

location: Option<ResourceLocation>

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

name: Option<String>

The name of the load balancer (e.g., my-load-balancer).

protocol: Option<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.

public_ports: Option<Vec<i64>>

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

resource_type: Option<String>

The resource type (e.g., LoadBalancer.

state: Option<String>

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

support_code: Option<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.

tags: Option<Vec<Tag>>

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

tls_certificate_summaries: Option<Vec<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.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more