interface TcpTimeout
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.TcpTimeout |
Java | software.amazon.awscdk.services.appmesh.TcpTimeout |
Python | aws_cdk.aws_appmesh.TcpTimeout |
TypeScript (source) | @aws-cdk/aws-appmesh » TcpTimeout |
Represents timeouts for TCP protocols.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as appmesh from '@aws-cdk/aws-appmesh';
import * as cdk from '@aws-cdk/core';
const tcpTimeout: appmesh.TcpTimeout = {
idle: cdk.Duration.minutes(30),
};
Properties
Name | Type | Description |
---|---|---|
idle? | Duration | Represents an idle timeout. |
idle?
Type:
Duration
(optional, default: none)
Represents an idle timeout.
The amount of time that a connection may be idle.