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: