CmdID / aws / aws imagebuilder
aws imagebuilder list-images
Returns the list of images that you have access to. AWS CLI reference
1 example 6 options Its page in the AWS CLI reference
Examples
To list images
The following list-images example lists all of the semantic versions you have access to.
aws imagebuilder list-imagesIdentifyIts output
{
"requestId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"imageVersionList": [
{
"arn": "arn:aws:imagebuilder:us-west-2:123456789012:image/mybasicrecipe/2019.12.03",
"name": "MyBasicRecipe",
"version": "2019.12.03",
"platform": "Windows",
"owner": "123456789012",
"dateCreated": "2020-02-14T21:29:18.810Z"
}
]
}For more information, see Manage custom image creation in Image Builder through a repeatable pipeline process in the EC2 Image Builder Users Guide.
Options
--by-nameSpecifies whether to return one entry per image name, with all versions of each image aggregated.--filtersUse the following filters to streamline results: name osVersion platform type version--include-deprecatedSpecifies whether to include deprecated Amazon-managed images in the results.--max-resultsThe maximum number of items to return in a single request.--next-tokenA token to specify where to start paginating.--ownerFilters the list to images owned by you, by Amazon, or shared with you by other accounts.