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