CmdID / aws / aws imagebuilder
aws imagebuilder list-image-recipes
Returns a list of image recipes. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To list image recipes
The following list-image-recipes example lists all of your image recipes.
aws imagebuilder list-image-recipesIdentifyIts output
{
"requestId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"imageRecipeSummaryList": [
{
"arn": "arn:aws:imagebuilder:us-west-2:123456789012:image-recipe/mybasicrecipe/2019.12.03",
"name": "MyBasicRecipe",
"platform": "Windows",
"owner": "123456789012",
"parentImage": "arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/2019.x.x",
"dateCreated": "2020-02-19T18:54:25.975Z",
"tags": {
"KeyName": "KeyValue"
}
},
{
"arn": "arn:aws:imagebuilder:us-west-2:123456789012:image-recipe/recipe-name-a1b2c3d45678/1.0.0",
"name": "recipe-name-a1b2c3d45678",
"platform": "Linux",
"owner": "123456789012",
"parentImage": "arn:aws:imagebuilder:us-west-2:aws:image/amazon-linux-2-x86/2019.11.21",
"dateCreated": "2019-12-16T18:19:00.120Z",
"tags": {
"KeyName": "KeyValue"
}
}
]
}For more information, see Manage custom image creation in Image Builder through a repeatable pipeline process in the EC2 Image Builder Users Guide.
Options
--filtersUse the following filters to streamline results: name parentImage platform--max-resultsThe maximum number of items to return in a single request.--next-tokenA token to specify where to start paginating.--ownerYou can specify the recipe owner to filter results by that owner.