Metadata-Version: 2.1
Name: aws-cdk.aws-ecr
Version: 1.36.1
Summary: The CDK Construct Library for AWS::ECR
Home-page: https://github.com/aws/aws-cdk
Author: Amazon Web Services
License: Apache-2.0
Project-URL: Source, https://github.com/aws/aws-cdk.git
Description: ## Amazon ECR Construct Library
        
        <!--BEGIN STABILITY BANNER-->---
        
        
        ![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
        
        ![cdk-constructs: Stable](https://img.shields.io/badge/cdk--constructs-stable-success.svg?style=for-the-badge)
        
        ---
        <!--END STABILITY BANNER-->
        
        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 automatically generated without compilation. 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 automatically generated without compilation. 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=cdk.Duration.days(30))
        ```
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: JavaScript
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Typing :: Typed
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved
Requires-Python: >=3.6
Description-Content-Type: text/markdown
