Metadata-Version: 2.1
Name: aws-cdk.aws-ecr
Version: 1.16.1
Summary: The CDK Construct Library for AWS::ECR
Home-page: https://github.com/aws/aws-cdk
Author: Amazon Web Services
License: UNKNOWN
Project-URL: Source, https://github.com/aws/aws-cdk.git
Description: ## Amazon ECR Construct Library
        
        <html></html>---
        
        
        ![Stability: Stable](https://img.shields.io/badge/stability-Stable-success.svg?style=for-the-badge)
        
        ---
        <html></html>
        
        This package contains constructs for working with Amazon Elastic Container Registry.
        
        ### Repositories
        
        Define a repository by creating a new instance of `Repository`. A repository
        holds multiple verions of a single container image.
        
        ```python
        # Example may have issues. See https://github.com/aws/jsii/issues/826
        repository = ecr.Repository(self, "Repository")
        ```
        
        ### Automatically clean up repositories
        
        You can set life cycle rules to automatically clean up old images from your
        repository. The first life cycle rule that matches an image will be applied
        against that image. For example, the following deletes images older than
        30 days, while keeping all images tagged with prod (note that the order
        is important here):
        
        ```python
        # Example may have issues. See https://github.com/aws/jsii/issues/826
        repository.add_lifecycle_rule(tag_prefix_list=["prod"], max_image_count=9999)
        repository.add_lifecycle_rule(max_image_age_days=cdk.Duration.days(30))
        ```
        
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
