aws ecr start-lifecycle-policy-preview
Starts a preview of a lifecycle policy for the specified repository. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--lifecycle-policy-textThe policy to be evaluated against.--registry-idThe Amazon Web Services account ID associated with the registry that contains the repository.--repository-nameThe name of the repository to be evaluated.