Struct rusoto_elb::LoadBalancerAttributes
source · [−]pub struct LoadBalancerAttributes {
pub access_log: Option<AccessLog>,
pub additional_attributes: Option<Vec<AdditionalAttribute>>,
pub connection_draining: Option<ConnectionDraining>,
pub connection_settings: Option<ConnectionSettings>,
pub cross_zone_load_balancing: Option<CrossZoneLoadBalancing>,
}
Expand description
The attributes for a load balancer.
Fields
access_log: 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.
additional_attributes: Option<Vec<AdditionalAttribute>>
Any additional attributes.
connection_draining: 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.
connection_settings: 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.
cross_zone_load_balancing: 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.
Trait Implementations
sourceimpl Clone for LoadBalancerAttributes
impl Clone for LoadBalancerAttributes
sourcefn clone(&self) -> LoadBalancerAttributes
fn clone(&self) -> LoadBalancerAttributes
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 LoadBalancerAttributes
impl Debug for LoadBalancerAttributes
sourceimpl Default for LoadBalancerAttributes
impl Default for LoadBalancerAttributes
sourcefn default() -> LoadBalancerAttributes
fn default() -> LoadBalancerAttributes
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LoadBalancerAttributes> for LoadBalancerAttributes
impl PartialEq<LoadBalancerAttributes> for LoadBalancerAttributes
sourcefn eq(&self, other: &LoadBalancerAttributes) -> bool
fn eq(&self, other: &LoadBalancerAttributes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LoadBalancerAttributes) -> bool
fn ne(&self, other: &LoadBalancerAttributes) -> bool
This method tests for !=
.
impl StructuralPartialEq for LoadBalancerAttributes
Auto Trait Implementations
impl RefUnwindSafe for LoadBalancerAttributes
impl Send for LoadBalancerAttributes
impl Sync for LoadBalancerAttributes
impl Unpin for LoadBalancerAttributes
impl UnwindSafe for LoadBalancerAttributes
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