# ConnectionTrackingSpecificationProperty

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](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts) in the *Amazon EC2 User Guide* .

- Source: Generated code
- Type last changed: v2.112.0 · 1 Dec 2023

## 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.CfnLaunchTemplate.ConnectionTrackingSpecificationProperty = {
  tcpEstablishedTimeout: 123,
  udpStreamTimeout: 123,
  udpTimeout: 123,
};
```

## Properties

- `tcpEstablishedTimeout`: number — 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.

- `udpStreamTimeout`: number — 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.

- `udpTimeout`: number — 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.
