Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
awscli
/
examples
/
ecr
📤 Upload
📝 New File
📁 New Folder
Close
Editing: delete-lifecycle-policy.rst
**To delete the lifecycle policy for a repository** The following ``delete-lifecycle-policy`` example deletes the lifecycle policy for the ``hello-world`` repository. :: aws ecr delete-lifecycle-policy \ --repository-name hello-world Output:: { "registryId": "012345678910", "repositoryName": "hello-world", "lifecyclePolicyText": "{\"rules\":[{\"rulePriority\":1,\"description\":\"Remove untagged images.\",\"selection\":{\"tagStatus\":\"untagged\",\"countType\":\"sinceImagePushed\",\"countUnit\":\"days\",\"countNumber\":10},\"action\":{\"type\":\"expire\"}}]}", "lastEvaluatedAt": 0.0 }
Save
Cancel