pub struct LoadBalancer {
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 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 tls_certificate_summaries: Option<Vec<LoadBalancerTlsCertificateSummary>>,
}
Describes the Lightsail load balancer.
The Amazon Resource Name (ARN) of the load balancer.
A string to string map of the configuration options for your load balancer. Valid values are listed below.
The date when your load balancer was created.
The DNS name of your Lightsail load balancer.
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.
An array of InstanceHealthSummary objects describing the health of the load balancer.
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.
The AWS Region where your load balancer was created (e.g., us-east-2a
). Lightsail automatically creates your load balancer across Availability Zones.
The name of the load balancer (e.g., my-load-balancer
).
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
.
An array of public port settings for your load balancer. For HTTP, use port 80. For HTTPS, use port 443.
The resource type (e.g., LoadBalancer
.
The status of your load balancer. Valid values are below.
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.
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.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static