Interface CfnLaunchTemplate.ConnectionTrackingSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplate.ConnectionTrackingSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnLaunchTemplate
@Stability(Stable)
public static interface CfnLaunchTemplate.ConnectionTrackingSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
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 EC2 User Guide .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; ConnectionTrackingSpecificationProperty connectionTrackingSpecificationProperty = ConnectionTrackingSpecificationProperty.builder() .tcpEstablishedTimeout(123) .udpStreamTimeout(123) .udpTimeout(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnLaunchTemplate.ConnectionTrackingSpecificationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
Timeout (in seconds) for idle TCP connections in an established state.default Number
Timeout (in seconds) for idle UDP flows classified as streams which have seen more than one request-response transaction.default Number
Timeout (in seconds) for idle UDP flows that have seen traffic only in a single direction or a single request-response transaction.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTcpEstablishedTimeout
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.
- See Also:
-
getUdpStreamTimeout
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.
- See Also:
-
getUdpTimeout
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.
- See Also:
-
builder
@Stability(Stable) static CfnLaunchTemplate.ConnectionTrackingSpecificationProperty.Builder builder()
-