Interface CfnVirtualGateway.VirtualGatewayConnectionPoolProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualGateway.VirtualGatewayConnectionPoolProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualGateway
@Stability(Stable)
public static interface CfnVirtualGateway.VirtualGatewayConnectionPoolProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the type of virtual gateway connection pool.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualGateway.VirtualGatewayConnectionPoolPropertystatic final classAn implementation forCfnVirtualGateway.VirtualGatewayConnectionPoolProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGrpc
An object that represents a type of connection pool.Returns union: either
IResolvableorCfnVirtualGateway.VirtualGatewayGrpcConnectionPoolProperty- See Also:
-
getHttp
An object that represents a type of connection pool.Returns union: either
IResolvableorCfnVirtualGateway.VirtualGatewayHttpConnectionPoolProperty- See Also:
-
getHttp2
An object that represents a type of connection pool.Returns union: either
IResolvableorCfnVirtualGateway.VirtualGatewayHttp2ConnectionPoolProperty- See Also:
-
builder
-