public static interface CfnVirtualGateway.VirtualGatewayConnectionPoolProperty
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 software.amazon.awscdk.services.appmesh.*; VirtualGatewayConnectionPoolProperty virtualGatewayConnectionPoolProperty = VirtualGatewayConnectionPoolProperty.builder() .grpc(VirtualGatewayGrpcConnectionPoolProperty.builder() .maxRequests(123) .build()) .http(VirtualGatewayHttpConnectionPoolProperty.builder() .maxConnections(123) // the properties below are optional .maxPendingRequests(123) .build()) .http2(VirtualGatewayHttp2ConnectionPoolProperty.builder() .maxRequests(123) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnVirtualGateway.VirtualGatewayConnectionPoolProperty.Builder
A builder for
CfnVirtualGateway.VirtualGatewayConnectionPoolProperty |
static class |
CfnVirtualGateway.VirtualGatewayConnectionPoolProperty.Jsii$Proxy
An implementation for
CfnVirtualGateway.VirtualGatewayConnectionPoolProperty |
Modifier and Type | Method and Description |
---|---|
static CfnVirtualGateway.VirtualGatewayConnectionPoolProperty.Builder |
builder() |
default java.lang.Object |
getGrpc()
An object that represents a type of connection pool.
|
default java.lang.Object |
getHttp()
An object that represents a type of connection pool.
|
default java.lang.Object |
getHttp2()
An object that represents a type of connection pool.
|
default java.lang.Object getGrpc()
default java.lang.Object getHttp()
default java.lang.Object getHttp2()