ConnectionTrackingSpecificationProperty Struct
Configurable options for connection tracking on a network interface.
For more information, see Connection tracking timeouts in the Amazon Elastic Compute Cloud User Guide .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const connectionTrackingSpecificationProperty: ec2.CfnNetworkInterface.ConnectionTrackingSpecificationProperty = {
tcpEstablishedTimeout: 123,
udpStreamTimeout: 123,
udpTimeout: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2
connection_tracking_specification_property = ec2.CfnNetworkInterface.ConnectionTrackingSpecificationProperty(
tcp_established_timeout=123,
udp_stream_timeout=123,
udp_timeout=123
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var connectionTrackingSpecificationProperty = new ConnectionTrackingSpecificationProperty {
TcpEstablishedTimeout = 123,
UdpStreamTimeout = 123,
UdpTimeout = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
connectionTrackingSpecificationProperty := &ConnectionTrackingSpecificationProperty{
TcpEstablishedTimeout: jsii.Number(123),
UdpStreamTimeout: jsii.Number(123),
UdpTimeout: jsii.Number(123),
}
Properties
tcpEstablishedTimeoutoptionalnumbertcp_established_timeoutoptionalint | floattcpEstablishedTimeoutoptionalNumberTcpEstablishedTimeoutoptionaldoubleTcpEstablishedTimeoutoptional*float64 #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.
udpStreamTimeoutoptionalnumberudp_stream_timeoutoptionalint | floatudpStreamTimeoutoptionalNumberUdpStreamTimeoutoptionaldoubleUdpStreamTimeoutoptional*float64 #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.
udpTimeoutoptionalnumberudp_timeoutoptionalint | floatudpTimeoutoptionalNumberUdpTimeoutoptionaldoubleUdpTimeoutoptional*float64 #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.