Now, Amazon ECR Lifecycle Policies allow you to define a set of rules to automatically remove container images. You can also preview rules to see exactly which container images will be affected when the rule runs. This allows repositories to be better organized, makes it easier to find the code revisions that matter, and lowers storage costs.