404

[ Avaa Bypassed ]




Upload:

Command:

botdev@13.58.146.48: ~ $
**To retrieve a lifecycle policy**

The following ``get-lifecycle-policy`` example displays details of the lifecycle policy for the specified repository in the default registry for the account. ::

    aws ecr get-lifecycle-policy \
        --repository-name "project-a/amazon-ecs-sample"

Output::

    {
         "registryId": "123456789012",
         "repositoryName": "project-a/amazon-ecs-sample",
         "lifecyclePolicyText": "{\"rules\":[{\"rulePriority\":1,\"description\":\"Expire images older than 14 days\",\"selection\":{\"tagStatus\":\"untagged\",\"countType\":\"sinceImagePushed\",\"countUnit\":\"days\",\"countNumber\":14},\"action\":{\"type\":\"expire\"}}]}",
         "lastEvaluatedAt": 1504295007.0
    }

For more information, see `Lifecycle Policies <https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html>`__ in the *Amazon ECR User Guide*.

Filemanager

Name Type Size Permission Actions
batch-check-layer-availability.rst File 836 B 0644
batch-delete-image.rst File 1.29 KB 0644
batch-get-image.rst File 3.1 KB 0644
complete-layer-upload.rst File 664 B 0644
create-repository.rst File 2.25 KB 0644
delete-lifecycle-policy.rst File 647 B 0644
delete-repository-policy.rst File 675 B 0644
delete-repository.rst File 702 B 0644
describe-image-scan-findings.rst File 2.32 KB 0644
describe-images.rst File 767 B 0644
describe-repositories.rst File 612 B 0644
get-authorization-token.rst File 491 B 0644
get-download-url-for-layer.rst File 1 KB 0644
get-lifecycle-policy-preview.rst File 1.22 KB 0644
get-lifecycle-policy.rst File 888 B 0644
get-login-password.rst File 894 B 0644
get-login-password_description.rst File 914 B 0644
get-login_description.rst File 1.06 KB 0644
get-repository-policy.rst File 686 B 0644
initiate-layer-upload.rst File 344 B 0644
list-images.rst File 798 B 0644
list-tags-for-resource.rst File 433 B 0644
put-image-scanning-configuration.rst File 672 B 0644
put-image-tag-mutability.rst File 686 B 0644
put-image.rst File 6.26 KB 0644
put-lifecycle-policy.rst File 1.35 KB 0644
set-repository-policy.rst File 1.16 KB 0644
start-image-scan.rst File 810 B 0644
start-lifecycle-policy-preview.rst File 1.45 KB 0644
tag-resource.rst File 334 B 0644
untag-resource.rst File 319 B 0644
upload-layer-part.rst File 680 B 0644