---
type: resource-type
title: ContainerRecipe
description: aws resource type AWS::ImageBuilder::ContainerRecipe
name: ContainerRecipe
lexicon: aws
resource_type: AWS::ImageBuilder::ContainerRecipe
---
`AWS::ImageBuilder::ContainerRecipe`, a resource type of the aws lexicon.

## Properties

- `Arn` (`string`, optional): The Amazon Resource Name (ARN) of the container recipe.
- `Components` (`ContainerRecipe_ComponentConfiguration[]`, optional): Components for build and test that are included in the container recipe.
- `ContainerType` (`"DOCKER"`, optional): Specifies the type of container, such as Docker.
- `Description` (`string`, optional): The description of the container recipe.
- `DockerfileTemplateData` (`string`, optional): Dockerfiles are text documents that are used to build Docker containers, and ensure that they contain all of the elements required by the application running inside. The template data consists of contextual variables where Image Builder places build information or scripts, based on your container image recipe.
- `DockerfileTemplateUri` (`string`, optional): The S3 URI for the Dockerfile that will be used to build your container image.
- `ImageOsVersionOverride` (`string`, optional): Specifies the operating system version for the source image.
- `InstanceConfiguration` (`ContainerRecipe_InstanceConfiguration`, optional): A group of options that can be used to configure an instance for building and testing container images.
- `KmsKeyId` (`string`, optional): Identifies which KMS key is used to encrypt the container image.
- `LatestVersion` (`ContainerRecipe_LatestVersion`, optional): The latest version references of the container recipe.
- `Name` (`string`, optional): The name of the container recipe.
- `ParentImage` (`string`, optional): The source image for the container recipe.
- `PlatformOverride` (`"Linux" | "Windows"`, optional): Specifies the operating system platform when you use a custom source image.
- `Tags` (`Record<string, unknown>`, optional): Tags that are attached to the container recipe.
- `TargetRepository` (`ContainerRecipe_TargetContainerRepository`, optional): The destination repository for the container image.
- `Version` (`string`, optional): The semantic version of the container recipe (<major>.<minor>.<patch>).
- `WorkingDirectory` (`string`, optional): The working directory to be used during build and test workflows.

## Attributes

- `Arn`
- `LatestVersion`
- `LatestVersion.Arn`
- `LatestVersion.Major`
- `LatestVersion.Minor`
- `LatestVersion.Patch`
