Skip to content
v2.275.0

VirtualNodeConnectionPoolProperty Struct ​

An object that represents the type of virtual node connection pool.

Only one protocol is used at a time and should be the same protocol as the one chosen under port mapping.

If not present the default value for maxPendingRequests is 2147483647 .

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 virtualNodeConnectionPoolProperty: appmesh.CfnVirtualNode.VirtualNodeConnectionPoolProperty = {
  grpc: {
    maxRequests: 123,
  },
  http: {
    maxConnections: 123,

    // the properties below are optional
    maxPendingRequests: 123,
  },
  http2: {
    maxRequests: 123,
  },
  tcp: {
    maxConnections: 123,
  },
};

Properties ​

grpcoptionalIResolvable | CfnVirtualNode.VirtualNodeGrpcConnectionPoolPropertygrpcoptionaltyping.Union[IResolvable, VirtualNodeGrpcConnectionPoolProperty]grpcoptionalIResolvableGrpcoptionalIResolvableGrpcoptionalinterface{}#
An object that represents a type of connection pool.
httpoptionalIResolvable | CfnVirtualNode.VirtualNodeHttpConnectionPoolPropertyhttpoptionaltyping.Union[IResolvable, VirtualNodeHttpConnectionPoolProperty]httpoptionalIResolvableHttpoptionalIResolvableHttpoptionalinterface{}#
An object that represents a type of connection pool.
http2optionalIResolvable | CfnVirtualNode.VirtualNodeHttp2ConnectionPoolPropertyhttp2optionaltyping.Union[IResolvable, VirtualNodeHttp2ConnectionPoolProperty]http2optionalIResolvableHttp2optionalIResolvableHttp2optionalinterface{}#
An object that represents a type of connection pool.
tcpoptionalIResolvable | CfnVirtualNode.VirtualNodeTcpConnectionPoolPropertytcpoptionaltyping.Union[IResolvable, VirtualNodeTcpConnectionPoolProperty]tcpoptionalIResolvableTcpoptionalIResolvableTcpoptionalinterface{}#
An object that represents a type of connection pool.