#[non_exhaustive]pub struct LoadBalancerAttributes { /* private fields */ }
Expand description
The attributes for a load balancer.
Implementations§
source§impl LoadBalancerAttributes
impl LoadBalancerAttributes
sourcepub fn cross_zone_load_balancing(&self) -> Option<&CrossZoneLoadBalancing>
pub fn cross_zone_load_balancing(&self) -> Option<&CrossZoneLoadBalancing>
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
sourcepub fn access_log(&self) -> Option<&AccessLog>
pub fn access_log(&self) -> Option<&AccessLog>
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.
For more information, see Enable Access Logs in the Classic Load Balancers Guide.
sourcepub fn connection_draining(&self) -> Option<&ConnectionDraining>
pub fn connection_draining(&self) -> Option<&ConnectionDraining>
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.
For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
sourcepub fn connection_settings(&self) -> Option<&ConnectionSettings>
pub fn connection_settings(&self) -> Option<&ConnectionSettings>
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.
sourcepub fn additional_attributes(&self) -> Option<&[AdditionalAttribute]>
pub fn additional_attributes(&self) -> Option<&[AdditionalAttribute]>
Any additional attributes.
source§impl LoadBalancerAttributes
impl LoadBalancerAttributes
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LoadBalancerAttributes
.
Trait Implementations§
source§impl Clone for LoadBalancerAttributes
impl Clone for LoadBalancerAttributes
source§fn clone(&self) -> LoadBalancerAttributes
fn clone(&self) -> LoadBalancerAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoadBalancerAttributes
impl Debug for LoadBalancerAttributes
source§impl PartialEq<LoadBalancerAttributes> for LoadBalancerAttributes
impl PartialEq<LoadBalancerAttributes> for LoadBalancerAttributes
source§fn eq(&self, other: &LoadBalancerAttributes) -> bool
fn eq(&self, other: &LoadBalancerAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.