Http2ConnectionPool Struct
Connection pool properties for HTTP2 listeners.
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 http2ConnectionPool: appmesh.Http2ConnectionPool = {
maxRequests: 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
http2_connection_pool = appmesh.Http2ConnectionPool(
max_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.*;
Http2ConnectionPool http2ConnectionPool = Http2ConnectionPool.builder()
.maxRequests(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 http2ConnectionPool = new Http2ConnectionPool {
MaxRequests = 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"
http2ConnectionPool := &Http2ConnectionPool{
MaxRequests: jsii.Number(123),
}
Properties
maxRequestsnumbermax_requestsint | floatmaxRequestsNumberMaxRequestsdoubleMaxRequests*float64= nonerequired#The maximum requests in the pool.