aws-cdk-lib.aws_appmesh.CfnVirtualNode.VirtualNodeConnectionPoolProperty

interface VirtualNodeConnectionPoolProperty

LanguageType name
.NETAmazon.CDK.AWS.AppMesh.CfnVirtualNode.VirtualNodeConnectionPoolProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualNode_VirtualNodeConnectionPoolProperty
Javasoftware.amazon.awscdk.services.appmesh.CfnVirtualNode.VirtualNodeConnectionPoolProperty
Pythonaws_cdk.aws_appmesh.CfnVirtualNode.VirtualNodeConnectionPoolProperty
TypeScript aws-cdk-lib » aws_appmesh » CfnVirtualNode » VirtualNodeConnectionPoolProperty

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

// 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

NameTypeDescription
grpc?IResolvable | VirtualNodeGrpcConnectionPoolPropertyAn object that represents a type of connection pool.
http?IResolvable | VirtualNodeHttpConnectionPoolPropertyAn object that represents a type of connection pool.
http2?IResolvable | VirtualNodeHttp2ConnectionPoolPropertyAn object that represents a type of connection pool.
tcp?IResolvable | VirtualNodeTcpConnectionPoolPropertyAn object that represents a type of connection pool.

grpc?

Type: IResolvable | VirtualNodeGrpcConnectionPoolProperty (optional)

An object that represents a type of connection pool.


http?

Type: IResolvable | VirtualNodeHttpConnectionPoolProperty (optional)

An object that represents a type of connection pool.


http2?

Type: IResolvable | VirtualNodeHttp2ConnectionPoolProperty (optional)

An object that represents a type of connection pool.


tcp?

Type: IResolvable | VirtualNodeTcpConnectionPoolProperty (optional)

An object that represents a type of connection pool.