@Stability(value=Stable)
public static interface CfnVirtualGateway.VirtualGatewayConnectionPoolProperty
extends software.amazon.jsii.JsiiSerializable
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 Object |
getGrpc()
An object that represents a type of connection pool.
|
default Object |
getHttp()
An object that represents a type of connection pool.
|
default Object |
getHttp2()
An object that represents a type of connection pool.
|
@Stability(value=Stable) @Nullable default Object getGrpc()
@Stability(value=Stable) @Nullable default Object getHttp()
@Stability(value=Stable) @Nullable default Object getHttp2()
@Stability(value=Stable) static CfnVirtualGateway.VirtualGatewayConnectionPoolProperty.Builder builder()
Copyright © 2022. All rights reserved.