Set or update a repository's lifecycle policy
One step with Amazon ECR. We can help you get access.
Get something done
Set or update a repository's lifecycle policy
with Amazon ECR
Use Amazon ECR: its Amazon Elastic Container Registry Lifecycle Policy API lets you set or update a repository's lifecycle policy in a single step (POST /#PutLifecyclePolicy). capabilities.work can help you get signed up and connected.
- How do I keep only the latest few images in a repository?
- Can I replace a repository's lifecycle policy with a JSON policy?
Say it to your AI assistant
- Apply lifecycle policy {lifecyclePolicyText} to repository {repositoryName}.
- Set the image cleanup rules on {repositoryName} in registry {registryId} to {lifecyclePolicyText}.
For your developer
POST /#PutLifecyclePolicy in Amazon Elastic Container Registry Lifecycle Policy API. Full spec on APIs.io.