# VirtualNodeHttpConnectionPoolProperty

An object that represents a type of connection pool.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

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

- `maxConnections`: number (required) — Maximum number of outbound TCP connections Envoy can establish concurrently with all hosts in upstream cluster.

- `maxPendingRequests`: number — Number of overflowing requests after `max_connections` Envoy will queue to upstream cluster.
