Interface CfnVirtualNodePropsMixin.VirtualNodeConnectionPoolProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNodePropsMixin.VirtualNodeConnectionPoolProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNodePropsMixin
@Stability(Stable)
public static interface CfnVirtualNodePropsMixin.VirtualNodeConnectionPoolProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the type of virtual node 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.cfnpropertymixins.services.appmesh.*;
VirtualNodeConnectionPoolProperty virtualNodeConnectionPoolProperty = VirtualNodeConnectionPoolProperty.builder()
.grpc(VirtualNodeGrpcConnectionPoolProperty.builder()
.maxRequests(123)
.build())
.http(VirtualNodeHttpConnectionPoolProperty.builder()
.maxConnections(123)
.maxPendingRequests(123)
.build())
.http2(VirtualNodeHttp2ConnectionPoolProperty.builder()
.maxRequests(123)
.build())
.tcp(VirtualNodeTcpConnectionPoolProperty.builder()
.maxConnections(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnVirtualNodePropsMixin.VirtualNodeConnectionPoolProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetGrpc()An object that represents a type of connection pool.default ObjectgetHttp()An object that represents a type of connection pool.default ObjectgetHttp2()An object that represents a type of connection pool.default ObjectgetTcp()An object that represents a type of connection pool.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
IResolvableorCfnVirtualNodePropsMixin.VirtualNodeGrpcConnectionPoolProperty- See Also:
-
getHttp
An object that represents a type of connection pool.Returns union: either
IResolvableorCfnVirtualNodePropsMixin.VirtualNodeHttpConnectionPoolProperty- See Also:
-
getHttp2
An object that represents a type of connection pool.Returns union: either
IResolvableorCfnVirtualNodePropsMixin.VirtualNodeHttp2ConnectionPoolProperty- See Also:
-
getTcp
An object that represents a type of connection pool.Returns union: either
IResolvableorCfnVirtualNodePropsMixin.VirtualNodeTcpConnectionPoolProperty- See Also:
-
builder
@Stability(Stable) static CfnVirtualNodePropsMixin.VirtualNodeConnectionPoolProperty.Builder builder()
-