CmdID / aws / aws ecr-public
aws ecr-public batch-delete-image
Deletes a list of specified images that are within a repository in a public registry. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--image-idsA list of image ID references that correspond to images to delete.--registry-idThe Amazon Web Services account ID, or registry alias, that's associated with the registry that contains the image to delete.--repository-nameThe repository in a public registry that contains the image to delete.