io.burkard.cdk.services.lambda.LayerVersionAttributes.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lambda
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LayerVersionAttributes {
def apply(
layerVersionArn: String,
compatibleRuntimes: Option[List[_ <: software.amazon.awscdk.services.lambda.Runtime]] = None
): software.amazon.awscdk.services.lambda.LayerVersionAttributes =
(new software.amazon.awscdk.services.lambda.LayerVersionAttributes.Builder)
.layerVersionArn(layerVersionArn)
.compatibleRuntimes(compatibleRuntimes.map(_.asJava).orNull)
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy