aws ecr batch-delete-image
Deletes a list of specified images within a repository. 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 associated with the registry that contains the image to delete.--repository-nameThe repository that contains the image to delete.