io.burkard.cdk.services.sam.ImageConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sam
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ImageConfigProperty {
def apply(
command: Option[List[String]] = None,
workingDirectory: Option[String] = None,
entryPoint: Option[List[String]] = None
): software.amazon.awscdk.services.sam.CfnFunction.ImageConfigProperty =
(new software.amazon.awscdk.services.sam.CfnFunction.ImageConfigProperty.Builder)
.command(command.map(_.asJava).orNull)
.workingDirectory(workingDirectory.orNull)
.entryPoint(entryPoint.map(_.asJava).orNull)
.build()
}