ContainerRecipeArgs constructor
- required Input<
List< components,ContainerRecipeComponent> > - required Input<
String> containerType, - Input<
String?> ? description, - Input<
String?> ? dockerfileTemplateData, - Input<
String?> ? dockerfileTemplateUri, - Input<
ContainerRecipeInstanceConfiguration?> ? instanceConfiguration, - Input<
String?> ? kmsKeyId, - Input<
String?> ? name, - required Input<
String> parentImage, - Input<
String?> ? platformOverride, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - required Input<
ContainerRecipeTargetRepository> targetRepository, - required Input<
String> version, - Input<
String?> ? workingDirectory,
Creates a new ContainerRecipeArgs.
components Ordered configuration block(s) with components for the container recipe. Detailed below.
containerType The type of the container to create. Valid values: DOCKER.
description The description of the container recipe.
dockerfileTemplateData The Dockerfile template used to build the image as an inline data blob.
dockerfileTemplateUri The Amazon S3 URI for the Dockerfile that will be used to build the container image.
instanceConfiguration Configuration block used to configure an instance for building and testing container images. Detailed below.
kmsKeyId The KMS key used to encrypt the container image.
name The name of the container recipe.
parentImage The base image for the container recipe.
platformOverride Specifies the operating system platform when you use a custom base image.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags Key-value map of resource tags for the container recipe. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
targetRepository The destination repository for the container image. Detailed below.
version Version of the container recipe.
workingDirectory The working directory to be used during build and test workflows.
Implementation
const ContainerRecipeArgs({
required this.components,
required this.containerType,
this.description,
this.dockerfileTemplateData,
this.dockerfileTemplateUri,
this.instanceConfiguration,
this.kmsKeyId,
this.name,
required this.parentImage,
this.platformOverride,
this.region,
this.tags,
required this.targetRepository,
required this.version,
this.workingDirectory,
});