io.burkard.cdk.services.appmesh.cfnVirtualNode.VirtualNodeHttpConnectionPoolProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.appmesh.cfnVirtualNode
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object VirtualNodeHttpConnectionPoolProperty {
def apply(
maxConnections: Number,
maxPendingRequests: Option[Number] = None
): software.amazon.awscdk.services.appmesh.CfnVirtualNode.VirtualNodeHttpConnectionPoolProperty =
(new software.amazon.awscdk.services.appmesh.CfnVirtualNode.VirtualNodeHttpConnectionPoolProperty.Builder)
.maxConnections(maxConnections)
.maxPendingRequests(maxPendingRequests.orNull)
.build()
}