io.burkard.cdk.services.sagemaker.cfnEndpointConfig.ServerlessConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sagemaker.cfnEndpointConfig
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ServerlessConfigProperty {
def apply(
maxConcurrency: Number,
memorySizeInMb: Number
): software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.ServerlessConfigProperty =
(new software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.ServerlessConfigProperty.Builder)
.maxConcurrency(maxConcurrency)
.memorySizeInMb(memorySizeInMb)
.build()
}