ecr-repository-lifecycle-policy-configured - AWS Config

ecr-repository-lifecycle-policy-configured

Checks whether an ECR repository has at least one lifecycle policy configured. This rule is NON_COMPLIANT if no lifecycle policy is configured for the ECR.

Identifier: ECR_REPOSITORY_LIFECYCLE_POLICY_CONFIGURED

Resource Types: AWS::ECR::Repository

Trigger type: Configuration changes

AWS Region: All supported AWS regions except Asia Pacific (Thailand), Asia Pacific (Hyderabad), Asia Pacific (Malaysia), Asia Pacific (Melbourne), AWS GovCloud (US-East), AWS GovCloud (US-West), Mexico (Central), Israel (Tel Aviv), Canada West (Calgary), Europe (Spain), Europe (Zurich) Region

Parameters:

None

AWS CloudFormation template

To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.