Struct rusoto_lightsail::LoadBalancer
source · [−]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.
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
sourceimpl Clone for LoadBalancer
impl Clone for LoadBalancer
sourcefn clone(&self) -> LoadBalancer
fn clone(&self) -> LoadBalancer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LoadBalancer
impl Debug for LoadBalancer
sourceimpl Default for LoadBalancer
impl Default for LoadBalancer
sourcefn default() -> LoadBalancer
fn default() -> LoadBalancer
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LoadBalancer
impl<'de> Deserialize<'de> for LoadBalancer
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<LoadBalancer> for LoadBalancer
impl PartialEq<LoadBalancer> for LoadBalancer
sourcefn eq(&self, other: &LoadBalancer) -> bool
fn eq(&self, other: &LoadBalancer) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LoadBalancer) -> bool
fn ne(&self, other: &LoadBalancer) -> bool
This method tests for !=
.
impl StructuralPartialEq for LoadBalancer
Auto Trait Implementations
impl RefUnwindSafe for LoadBalancer
impl Send for LoadBalancer
impl Sync for LoadBalancer
impl Unpin for LoadBalancer
impl UnwindSafe for LoadBalancer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more