capabilities.work

Image Inventory

A 4-step recipe with Amazon ECR. We can help you get access.

Recipe · 4 steps

Image Inventory

Paginate a repository's image IDs and resolve their detailed manifests.

  1. Describe the repository to confirm it is registered before listing its images.
  2. List the image IDs for the repository, applying the optional tag-status filter and page size.
  3. Request the next page of image IDs using the pagination token returned by the previous ListImages call, looping until no token remains.
  4. Resolve detailed manifests for the discovered image IDs through BatchGetImage.
What you'll need to have ready
  • repositoryName: The repository whose images should be inventoried.
  • tagStatus: Optional filter limiting the listed images by tag status.
  • maxResults: The maximum number of image results to return per page.
For your developer

Arazzo workflow amazon-ecr:image-inventory, 4 operations: DescribeRepositories → ListImages → ListImages → BatchGetImage. Specs on APIs.io.