VirtualNodeHttpConnectionPoolProperty Struct
An object that represents a type of connection pool.
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 virtualNodeHttpConnectionPoolProperty: appmesh.CfnVirtualNode.VirtualNodeHttpConnectionPoolProperty = {
maxConnections: 123,
// the properties below are optional
maxPendingRequests: 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
virtual_node_http_connection_pool_property = appmesh.CfnVirtualNode.VirtualNodeHttpConnectionPoolProperty(
max_connections=123,
# the properties below are optional
max_pending_requests=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.*;
VirtualNodeHttpConnectionPoolProperty virtualNodeHttpConnectionPoolProperty = VirtualNodeHttpConnectionPoolProperty.builder()
.maxConnections(123)
// the properties below are optional
.maxPendingRequests(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 virtualNodeHttpConnectionPoolProperty = new VirtualNodeHttpConnectionPoolProperty {
MaxConnections = 123,
// the properties below are optional
MaxPendingRequests = 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"
virtualNodeHttpConnectionPoolProperty := &VirtualNodeHttpConnectionPoolProperty{
MaxConnections: jsii.Number(123),
// the properties below are optional
MaxPendingRequests: jsii.Number(123),
}
Properties
maxConnectionsnumbermax_connectionsint | floatmaxConnectionsNumberMaxConnectionsdoubleMaxConnections*float64required#Maximum number of outbound TCP connections Envoy can establish concurrently with all hosts in upstream cluster.
maxPendingRequestsoptionalnumbermax_pending_requestsoptionalint | floatmaxPendingRequestsoptionalNumberMaxPendingRequestsoptionaldoubleMaxPendingRequestsoptional*float64#Number of overflowing requests after `max_connections` Envoy will queue to upstream cluster.