http://imagebuilder.{region}.amazonaws.com/CreateContainerRecipeCreates a new container recipe. Container recipes define how images are configured, tested, and assessed.
The name of the container recipe.
Tags that are attached to the container recipe.
Identifies which KMS key is used to encrypt the container image.
Components for build and test that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
The client token used to make this request idempotent.
The description of the container recipe.
The base image for the container recipe.
The type of container to create.
<p>The semantic version of the container recipe. This version follows the semantic version syntax.</p> <note> <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.</p> <p> <b>Assignment:</b> For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.</p> <p> <b>Patterns:</b> You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.</p> </note>
Specifies the operating system platform when you use a custom base image.
The container repository where the output container image is stored.
The working directory for use during build and test workflows.
The Amazon S3 URI for the Dockerfile that will be used to build your container image.
Defines a custom base AMI and block device mapping configurations of an instance used for building and testing container images.
The Dockerfile template used to build your image as an inline data blob.
Specifies the operating system version for the base image.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PUT \2 --url 'http://imagebuilder.{region}.amazonaws.com/CreateContainerRecipe' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://imagebuilder.{region}.amazonaws.com/CreateContainerRecipeCreates a new container recipe. Container recipes define how images are configured, tested, and assessed.
The name of the container recipe.
Tags that are attached to the container recipe.
Identifies which KMS key is used to encrypt the container image.
Components for build and test that are included in the container recipe. Recipes require a minimum of one build component, and can have a maximum of 20 build and test components in any combination.
The client token used to make this request idempotent.
The description of the container recipe.
The base image for the container recipe.
The type of container to create.
<p>The semantic version of the container recipe. This version follows the semantic version syntax.</p> <note> <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them.</p> <p> <b>Assignment:</b> For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node.</p> <p> <b>Patterns:</b> You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01.</p> </note>
Specifies the operating system platform when you use a custom base image.
The container repository where the output container image is stored.
The working directory for use during build and test workflows.
The Amazon S3 URI for the Dockerfile that will be used to build your container image.
Defines a custom base AMI and block device mapping configurations of an instance used for building and testing container images.
The Dockerfile template used to build your image as an inline data blob.
Specifies the operating system version for the base image.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PUT \2 --url 'http://imagebuilder.{region}.amazonaws.com/CreateContainerRecipe' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}