[−][src]Struct rusoto_elbv2::TargetGroupAttribute
Information about a target group attribute.
Fields
key: Option<String>The name of the attribute.
The following attribute is 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 fromdrainingtounused. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported.
The following attributes are supported by Application Load Balancers if the target is not a Lambda function:
-
slowstart.durationseconds- The time period, in seconds, during which a newly registered target receives a linearly 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.enabled- Indicates whether sticky sessions are enabled. The value istrueorfalse. The default isfalse. -
stickiness.type- The type of sticky sessions. The possible value islbcookie. -
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 target is a Lambda function.
-
lambda.multivalueheaders.enabled- Indicates whether the request and response headers exchanged between the load balancer and the Lambda function include arrays of values or strings. The value istrueorfalse. The default isfalse. If the value isfalseand 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 istrueorfalse. The default isfalse.
value: Option<String>The value of the attribute.
Trait Implementations
impl PartialEq<TargetGroupAttribute> for TargetGroupAttribute[src]
fn eq(&self, other: &TargetGroupAttribute) -> bool[src]
fn ne(&self, other: &TargetGroupAttribute) -> bool[src]
impl Default for TargetGroupAttribute[src]
fn default() -> TargetGroupAttribute[src]
impl Clone for TargetGroupAttribute[src]
fn clone(&self) -> TargetGroupAttribute[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for TargetGroupAttribute[src]
Auto Trait Implementations
impl Send for TargetGroupAttribute
impl Sync for TargetGroupAttribute
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>, [src]
T: From<U>,
type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self