io.burkard.cdk.services.lambda.Runtime.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lambda
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object Runtime {
def apply(
name: String,
family: software.amazon.awscdk.services.lambda.RuntimeFamily,
bundlingDockerImage: Option[String] = None,
supportsCodeGuruProfiling: Option[Boolean] = None,
supportsInlineCode: Option[Boolean] = None
): software.amazon.awscdk.services.lambda.Runtime =
software.amazon.awscdk.services.lambda.Runtime.Builder
.create(name, family)
.bundlingDockerImage(bundlingDockerImage.orNull)
.supportsCodeGuruProfiling(supportsCodeGuruProfiling.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
.supportsInlineCode(supportsInlineCode.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy