[−][src]Struct rusoto_elbv2::TargetGroupAttribute
Information about a target group attribute.
Fields
key: Option<String>
The name of the attribute.
The following attributes are supported by both Application Load Balancers and Network Load Balancers:
-
deregistrationdelay.timeoutseconds
- The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target fromdraining
tounused
. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported. -
stickiness.enabled
- Indicates whether sticky sessions are enabled. The value istrue
orfalse
. The default isfalse
. -
stickiness.type
- The type of sticky sessions. The possible values arelbcookie
for Application Load Balancers orsourceip
for Network Load Balancers.
The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:
-
loadbalancing.algorithm.type
- The load balancing algorithm determines how the load balancer selects targets when routing requests. The value isroundrobin
orleastoutstandingrequests
. The default isroundrobin
. -
slowstart.durationseconds
- The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). Slow start mode is disabled by default. -
stickiness.lbcookie.durationseconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:
-
lambda.multivalueheaders.enabled
- Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value istrue
orfalse
. The default isfalse
. If the value isfalse
and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client.
The following attribute is supported only by Network Load Balancers:
-
proxyprotocol_v2.enabled
- Indicates whether Proxy Protocol version 2 is enabled. The value istrue
orfalse
. The default isfalse
.
value: Option<String>
The value of the attribute.
Trait Implementations
impl Clone for TargetGroupAttribute
[src]
pub fn clone(&self) -> TargetGroupAttribute
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TargetGroupAttribute
[src]
impl Default for TargetGroupAttribute
[src]
pub fn default() -> TargetGroupAttribute
[src]
impl PartialEq<TargetGroupAttribute> for TargetGroupAttribute
[src]
pub fn eq(&self, other: &TargetGroupAttribute) -> bool
[src]
pub fn ne(&self, other: &TargetGroupAttribute) -> bool
[src]
impl StructuralPartialEq for TargetGroupAttribute
[src]
Auto Trait Implementations
impl RefUnwindSafe for TargetGroupAttribute
[src]
impl Send for TargetGroupAttribute
[src]
impl Sync for TargetGroupAttribute
[src]
impl Unpin for TargetGroupAttribute
[src]
impl UnwindSafe for TargetGroupAttribute
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,