io.burkard.cdk.services.imagebuilder.CfnContainerRecipeProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.imagebuilder
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnContainerRecipeProps {
def apply(
containerType: String,
name: String,
components: List[_],
version: String,
targetRepository: software.amazon.awscdk.services.imagebuilder.CfnContainerRecipe.TargetContainerRepositoryProperty,
parentImage: String,
instanceConfiguration: Option[software.amazon.awscdk.services.imagebuilder.CfnContainerRecipe.InstanceConfigurationProperty] = None,
description: Option[String] = None,
tags: Option[Map[String, String]] = None,
dockerfileTemplateData: Option[String] = None,
dockerfileTemplateUri: Option[String] = None,
platformOverride: Option[String] = None,
workingDirectory: Option[String] = None,
kmsKeyId: Option[String] = None,
imageOsVersionOverride: Option[String] = None
): software.amazon.awscdk.services.imagebuilder.CfnContainerRecipeProps =
(new software.amazon.awscdk.services.imagebuilder.CfnContainerRecipeProps.Builder)
.containerType(containerType)
.name(name)
.components(components.asJava)
.version(version)
.targetRepository(targetRepository)
.parentImage(parentImage)
.instanceConfiguration(instanceConfiguration.orNull)
.description(description.orNull)
.tags(tags.map(_.asJava).orNull)
.dockerfileTemplateData(dockerfileTemplateData.orNull)
.dockerfileTemplateUri(dockerfileTemplateUri.orNull)
.platformOverride(platformOverride.orNull)
.workingDirectory(workingDirectory.orNull)
.kmsKeyId(kmsKeyId.orNull)
.imageOsVersionOverride(imageOsVersionOverride.orNull)
.build()
}