Struct aws_sdk_elasticloadbalancingv2::model::LoadBalancer
source · [−]#[non_exhaustive]pub struct LoadBalancer {Show 13 fields
pub load_balancer_arn: Option<String>,
pub dns_name: Option<String>,
pub canonical_hosted_zone_id: Option<String>,
pub created_time: Option<DateTime>,
pub load_balancer_name: Option<String>,
pub scheme: Option<LoadBalancerSchemeEnum>,
pub vpc_id: Option<String>,
pub state: Option<LoadBalancerState>,
pub type: Option<LoadBalancerTypeEnum>,
pub availability_zones: Option<Vec<AvailabilityZone>>,
pub security_groups: Option<Vec<String>>,
pub ip_address_type: Option<IpAddressType>,
pub customer_owned_ipv4_pool: Option<String>,
}
Expand description
Information about a load balancer.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.load_balancer_arn: Option<String>
The Amazon Resource Name (ARN) of the load balancer.
dns_name: Option<String>
The public DNS name of the load balancer.
canonical_hosted_zone_id: Option<String>
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
created_time: Option<DateTime>
The date and time the load balancer was created.
load_balancer_name: Option<String>
The name of the load balancer.
scheme: Option<LoadBalancerSchemeEnum>
The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.
vpc_id: Option<String>
The ID of the VPC for the load balancer.
state: Option<LoadBalancerState>
The state of the load balancer.
type: Option<LoadBalancerTypeEnum>
The type of load balancer.
availability_zones: Option<Vec<AvailabilityZone>>
The subnets for the load balancer.
security_groups: Option<Vec<String>>
The IDs of the security groups for the load balancer.
ip_address_type: Option<IpAddressType>
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
customer_owned_ipv4_pool: Option<String>
[Application Load Balancers on Outposts] The ID of the customer-owned address pool.
Implementations
sourceimpl LoadBalancer
impl LoadBalancer
sourcepub fn load_balancer_arn(&self) -> Option<&str>
pub fn load_balancer_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the load balancer.
sourcepub fn canonical_hosted_zone_id(&self) -> Option<&str>
pub fn canonical_hosted_zone_id(&self) -> Option<&str>
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The date and time the load balancer was created.
sourcepub fn load_balancer_name(&self) -> Option<&str>
pub fn load_balancer_name(&self) -> Option<&str>
The name of the load balancer.
sourcepub fn scheme(&self) -> Option<&LoadBalancerSchemeEnum>
pub fn scheme(&self) -> Option<&LoadBalancerSchemeEnum>
The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can route requests only from clients with access to the VPC for the load balancer.
sourcepub fn state(&self) -> Option<&LoadBalancerState>
pub fn state(&self) -> Option<&LoadBalancerState>
The state of the load balancer.
sourcepub fn type(&self) -> Option<&LoadBalancerTypeEnum>
pub fn type(&self) -> Option<&LoadBalancerTypeEnum>
The type of load balancer.
sourcepub fn availability_zones(&self) -> Option<&[AvailabilityZone]>
pub fn availability_zones(&self) -> Option<&[AvailabilityZone]>
The subnets for the load balancer.
sourcepub fn security_groups(&self) -> Option<&[String]>
pub fn security_groups(&self) -> Option<&[String]>
The IDs of the security groups for the load balancer.
sourcepub fn ip_address_type(&self) -> Option<&IpAddressType>
pub fn ip_address_type(&self) -> Option<&IpAddressType>
The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
sourcepub fn customer_owned_ipv4_pool(&self) -> Option<&str>
pub fn customer_owned_ipv4_pool(&self) -> Option<&str>
[Application Load Balancers on Outposts] The ID of the customer-owned address pool.
sourceimpl LoadBalancer
impl LoadBalancer
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LoadBalancer
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 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