List images and build versions
On the Images page in the Image Builder console, you can see lists of all of the Image Builder image resources that you own, that are shared with you, and that you have access to. The list results include some key details about those resources.
You can also see all of the images in your account that have pending workflow actions.
List images
This section describes the different ways that you can list information about your images.
You can use one of the following methods to list Image Builder image resources that you have access to. For the API action, see ListImages in the EC2 Image Builder API Reference. For the associated SDK request, refer to the See Also link on the same page.
List images in the console
To open the Images list page in the console, follow these steps:
Open the EC2 Image Builder console at https://console.amazonaws.cn/imagebuilder/
. -
Choose Images from the navigation pane.
The Images page in the console is divided into tabs, based on image ownership or workflow actions that are pending. This section covers the first three tabs that show images that you own or have access to.
In the Owned by me tab, you can use the following filters to streamline the image list results.
-
You can search for all or part of the name in the search bar.
-
You can filter images based on their operating system platform (Windows, Linux, or macOS).
-
You can filter images based on the type of output they produce (AMI or container image).
-
You can use Filter source to find images that were imported from a virtual machine (VMIE), or from an ISO disk image.
Following the filter controls, the Owned by me tab shows a list of Image Builder images that you created, with the following details for the listed resources:
- Name / Version
-
Image Builder image resource names start with the recipe name and version that they're built from. Select the link to see all of the related image build versions.
- Type
-
The type of output image that Image Builder creates for this image resource (an AMI or a container image).
- Platform
-
The operating system platform of the image resource, for example, "Linux", "Windows", or "macOS".
- Image source
-
The origin of the base image that Image Builder used to build this image resource. This is primarily used to filter results for images that were imported from a virtual machine (VMIE).
- Creation time
-
The date and time when Image Builder created the current version of the image resource.
- ARN
-
The Amazon Resource Name (ARN) of the current version of the image resource.
In the Shared with me tab, you can use the following filters to streamline the image list results.
-
You can search for all or part of the name in the search bar.
-
You can filter images based on their operating system platform (Windows, Linux, or macOS).
-
You can filter images based on the type of output they produce (AMI or container image).
-
You can use Filter source to find images that were imported from a virtual machine (VMIE), or from an ISO disk image.
Following the filter controls, the Shared with me tab shows a list of Image Builder images that were shared with you, with the following details for the listed resources:
- Image name
-
The name of the image resource that was shared with you. To use a shared image in a recipe, you select the Select managed images option, and change the Image origin to Images shared with me.
- Type
-
The type of output image that Image Builder creates for this image resource (an AMI or a container image).
- Version
-
The version of the operating system platform for the image resource, usually a numeric field in the following format: <major>.<minor>.<patch>.
- Image source
-
The origin of the base image that Image Builder used to build this image resource, if applicable. This is primarily used to filter results for images that were imported from a virtual machine (VMIE).
- Platform
-
The operating system platform of the image resource, for example, "Linux", "Windows", or "macOS".
- Creation time
-
The date and time when Image Builder created the version of the image resource that was shared with you.
- Owner
-
The owner of the shared image resource.
- ARN
-
The Amazon Resource Name (ARN) of the image resource version that was shared with you.
In the Managed by Amazon tab, you can use the following filters to streamline the image list results.
-
You can search for all or part of the name in the search bar.
-
You can filter images based on their operating system platform (Windows, Linux, or macOS).
-
You can filter images based on the type of output they produce (AMI or container image).
-
You can use Filter source to find images that were imported from a virtual machine (VMIE), or from an ISO disk image.
Following the filter controls, the Managed by Amazon tab shows a list of Amazon managed Image Builder images that you can use as base images for your recipes. Image Builder displays the following details for listed resources:
- Image name
-
The name of the managed image. When you create a recipe, the default for your base image is Quick start (Amazon managed). The images that are listed in this tab populate the Image name list associated with the operating system platform you choose for your base image when you create a recipe.
- Type
-
The type of output image that Image Builder creates for this image resource (an AMI or a container image).
- Version
-
The version of the operating system platform for the image resource, usually a numeric field in the following format: <major>.<minor>.<patch>.
- Platform
-
The operating system platform of the image resource, for example, "Linux", "Windows", or "macOS".
- Creation time
-
The date and time when Image Builder created the version of the image resource that was shared with you.
- Owner
-
Amazon owns the managed images.
- ARN
-
The Amazon Resource Name (ARN) of the image resource version that was shared with you.
List images with Amazon CLI commands
When you run the
list-images
The following command example shows how to use the list-images command without filters to list all of the Image Builder image resources that you own.
Example: list all images
aws imagebuilder list-images
Output:
{ "requestId": "1abcd234-e567-8fa9-0123-4567b890cd12", "imageVersionList": [ { "arn": "arn:aws:imagebuilder:us-west-2:123456789012:image/image-recipe-name/1.0.0", "name": "image-recipe-name", "type": "AMI", "version": "1.0.0", "platform": "Linux", "owner": "123456789012", "dateCreated": "2022-04-28T01:38:23.286Z" }, { "arn": "arn:aws:imagebuilder:us-west-2:123456789012:image/image-recipe-win/1.0.1", "name": "image-recipe-win", "type": "AMI", "version": "1.0.1", "platform": "Windows", "owner": "123456789012", "dateCreated": "2022-04-28T01:38:23.286Z" }, { "arn": "arn:aws:imagebuilder:us-west-2:123456789012:image/image-recipe-macos/1.1.1", "name": "image-recipe-macos", "type": "AMI", "version": "1.1.1", "platform": "macOS", "owner": "123456789012", "dateCreated": "2022-04-28T01:38:23.286Z" } ] }
When you run the list-images command, you can apply filters to
streamline the results, as the following example shows. For more information
about how to filter your results, see the list-images
Example: filter for Linux images
aws imagebuilder list-images --filters name="
platform
",values="Linux
"
Output:
{ "requestId": "1abcd234-e567-8fa9-0123-4567b890cd12", "imageVersionList": [ { "arn": "arn:aws:imagebuilder:us-west-2:123456789012:image/image-recipe-name/1.0.0", "name": "image-recipe-name", "type": "AMI", "version": "1.0.0", "platform": "Linux", "owner": "123456789012", "dateCreated": "2022-04-28T01:38:23.286Z" } ] }
List images waiting for action
When you use the WaitForAction
step action in your image workflow,
it pauses the workflow until you send it a signal to resume processing or fail the
workflow. You can use this step action if you have an external process that needs
to run before you continue. You can then use the SendWorkflowStepAction
to send a signal to the paused step to RESUME
or STOP
. You
can also stop or resume your workflow from the console.
The following tabs show how to get a list of all of the image resources in your account with workflow steps that are currently paused to wait for a signal to resume or stop. The tabs cover console steps and the Amazon CLI command.
You can also use the API or an SDK to get a list of workflow steps that are waiting for action. For the API action, see ListWaitingWorkflowSteps in the EC2 Image Builder API Reference. For the associated SDK request, refer to the See Also link on the same page.
List image build versions
On the Image build versions page of the Image Builder console, you can see a list of build versions and additional details for an image resource that you own. You can also use commands or actions with the Image Builder API, SDKs, or Amazon CLI to list image build versions.
You can use one of the following methods to list image build versions for image resources that you own. For the API action, see ListImageBuildVersions in the EC2 Image Builder API Reference. For the associated SDK request, refer to the See Also link on the same page.