TcpConnectionPool Struct
Connection pool properties for TCP listeners.
| Source | aws-appmesh/lib/shared-interfaces.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
const tcpConnectionPool: appmesh.TcpConnectionPool = {
maxConnections: 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_appmesh as appmesh
tcp_connection_pool = appmesh.TcpConnectionPool(
max_connections=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.appmesh.*;
TcpConnectionPool tcpConnectionPool = TcpConnectionPool.builder()
.maxConnections(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.AppMesh;
var tcpConnectionPool = new TcpConnectionPool {
MaxConnections = 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"
tcpConnectionPool := &TcpConnectionPool{
MaxConnections: jsii.Number(123),
}
Properties
maxConnectionsnumbermax_connectionsint | floatmaxConnectionsNumberMaxConnectionsdoubleMaxConnections*float64 = none required #The maximum connections in the pool.