#[non_exhaustive]pub struct ConnectionTrackingSpecification {
pub tcp_established_timeout: Option<i32>,
pub udp_timeout: Option<i32>,
pub udp_stream_timeout: Option<i32>,
}
Expand description
A security group connection tracking specification that enables you to set the idle timeout for connection tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon Elastic Compute Cloud User Guide.
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.tcp_established_timeout: Option<i32>
Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
udp_timeout: Option<i32>
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
udp_stream_timeout: Option<i32>
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
Implementations§
source§impl ConnectionTrackingSpecification
impl ConnectionTrackingSpecification
sourcepub fn tcp_established_timeout(&self) -> Option<i32>
pub fn tcp_established_timeout(&self) -> Option<i32>
Timeout (in seconds) for idle TCP connections in an established state. Min: 60 seconds. Max: 432000 seconds (5 days). Default: 432000 seconds. Recommended: Less than 432000 seconds.
sourcepub fn udp_timeout(&self) -> Option<i32>
pub fn udp_timeout(&self) -> Option<i32>
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction. Min: 30 seconds. Max: 60 seconds. Default: 30 seconds.
sourcepub fn udp_stream_timeout(&self) -> Option<i32>
pub fn udp_stream_timeout(&self) -> Option<i32>
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction. Min: 60 seconds. Max: 180 seconds (3 minutes). Default: 180 seconds.
source§impl ConnectionTrackingSpecification
impl ConnectionTrackingSpecification
sourcepub fn builder() -> ConnectionTrackingSpecificationBuilder
pub fn builder() -> ConnectionTrackingSpecificationBuilder
Creates a new builder-style object to manufacture ConnectionTrackingSpecification
.
Trait Implementations§
source§impl Clone for ConnectionTrackingSpecification
impl Clone for ConnectionTrackingSpecification
source§fn clone(&self) -> ConnectionTrackingSpecification
fn clone(&self) -> ConnectionTrackingSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ConnectionTrackingSpecification
impl PartialEq for ConnectionTrackingSpecification
source§fn eq(&self, other: &ConnectionTrackingSpecification) -> bool
fn eq(&self, other: &ConnectionTrackingSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionTrackingSpecification
Auto Trait Implementations§
impl Freeze for ConnectionTrackingSpecification
impl RefUnwindSafe for ConnectionTrackingSpecification
impl Send for ConnectionTrackingSpecification
impl Sync for ConnectionTrackingSpecification
impl Unpin for ConnectionTrackingSpecification
impl UnwindSafe for ConnectionTrackingSpecification
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more