Amazon EC2 Image Builder · Schema
ContainerRecipe
A container recipe.
Amazon Web ServicesAutomationContainer ImagesEC2Image BuildingVirtual Machine Images
Properties
| Name | Type | Description |
|---|---|---|
| arn | object | |
| containerType | object | |
| name | object | |
| description | object | |
| platform | object | |
| owner | object | |
| version | object | |
| components | object | |
| instanceConfiguration | object | |
| dockerfileTemplateData | object | |
| kmsKeyId | object | |
| encrypted | object | |
| parentImage | object | |
| dateCreated | object | |
| tags | object | |
| workingDirectory | object | |
| targetRepository | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-ec2-image-builder/refs/heads/main/json-schema/ec2-image-builder-container-recipe-schema.json",
"title": "ContainerRecipe",
"description": "A container recipe.",
"type": "object",
"properties": {
"arn": {
"allOf": [
{
"$ref": "#/components/schemas/ImageBuilderArn"
},
{
"description": "<p>The Amazon Resource Name (ARN) of the container recipe.</p> <note> <p>Semantic versioning is included in each object's Amazon Resource Name (ARN), at the level that applies to that object as follows:</p> <ol> <li> <p>Versionless ARNs and Name ARNs do not include specific values in any of the nodes. The nodes are either left off entirely, or they are specified as wildcards, for example: x.x.x.</p> </li> <li> <p>Version ARNs have only the first three nodes: <major>.<minor>.<patch></p> </li> <li> <p>Build version ARNs have all four nodes, and point to a specific build for a specific version of an object.</p> </li> </ol> </note>"
}
]
},
"containerType": {
"allOf": [
{
"$ref": "#/components/schemas/ContainerType"
},
{
"description": "Specifies the type of container, such as Docker."
}
]
},
"name": {
"allOf": [
{
"$ref": "#/components/schemas/ResourceName"
},
{
"description": "The name of the container recipe."
}
]
},
"description": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": "The description of the container recipe."
}
]
},
"platform": {
"allOf": [
{
"$ref": "#/components/schemas/Platform"
},
{
"description": "The system platform for the container, such as Windows or Linux."
}
]
},
"owner": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": "The owner of the container recipe."
}
]
},
"version": {
"allOf": [
{
"$ref": "#/components/schemas/VersionNumber"
},
{
"description": "<p>The semantic version of the container recipe.</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> <p> <b>Filtering:</b> With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.</p> </note>"
}
]
},
"components": {
"allOf": [
{
"$ref": "#/components/schemas/ComponentConfigurationList"
},
{
"description": "Build and test components 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."
}
]
},
"instanceConfiguration": {
"allOf": [
{
"$ref": "#/components/schemas/InstanceConfiguration"
},
{
"description": "A group of options that can be used to configure an instance for building and testing container images."
}
]
},
"dockerfileTemplateData": {
"allOf": [
{
"$ref": "#/components/schemas/DockerFileTemplate"
},
{
"description": "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."
}
]
},
"kmsKeyId": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": "Identifies which KMS key is used to encrypt the container image for distribution to the target Region."
}
]
},
"encrypted": {
"allOf": [
{
"$ref": "#/components/schemas/NullableBoolean"
},
{
"description": "A flag that indicates if the target container is encrypted."
}
]
},
"parentImage": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": "The base image for the container recipe."
}
]
},
"dateCreated": {
"allOf": [
{
"$ref": "#/components/schemas/DateTime"
},
{
"description": "The date when this container recipe was created."
}
]
},
"tags": {
"allOf": [
{
"$ref": "#/components/schemas/TagMap"
},
{
"description": "Tags that are attached to the container recipe."
}
]
},
"workingDirectory": {
"allOf": [
{
"$ref": "#/components/schemas/NonEmptyString"
},
{
"description": "The working directory for use during build and test workflows."
}
]
},
"targetRepository": {
"allOf": [
{
"$ref": "#/components/schemas/TargetContainerRepository"
},
{
"description": "The destination repository for the container image."
}
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ec2-image-builder-container-recipe"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.