Interface CfnVirtualNode.VirtualNodeConnectionPoolProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNode.VirtualNodeConnectionPoolProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNode
@Stability(Stable)
public static interface CfnVirtualNode.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.services.appmesh.*;
VirtualNodeConnectionPoolProperty virtualNodeConnectionPoolProperty = VirtualNodeConnectionPoolProperty.builder()
.grpc(VirtualNodeGrpcConnectionPoolProperty.builder()
.maxRequests(123)
.build())
.http(VirtualNodeHttpConnectionPoolProperty.builder()
.maxConnections(123)
// the properties below are optional
.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 classA builder forCfnVirtualNode.VirtualNodeConnectionPoolPropertystatic final classAn implementation forCfnVirtualNode.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
IResolvableorCfnVirtualNode.VirtualNodeGrpcConnectionPoolProperty- See Also:
-
getHttp
An object that represents a type of connection pool.Returns union: either
IResolvableorCfnVirtualNode.VirtualNodeHttpConnectionPoolProperty- See Also:
-
getHttp2
An object that represents a type of connection pool.Returns union: either
IResolvableorCfnVirtualNode.VirtualNodeHttp2ConnectionPoolProperty- See Also:
-
getTcp
An object that represents a type of connection pool.Returns union: either
IResolvableorCfnVirtualNode.VirtualNodeTcpConnectionPoolProperty- See Also:
-
builder
-