Skip to content

(aws-ecr): Repository construct is missing EncryptionConfiguration #15400

@nikovirtala

Description

@nikovirtala

Add missing EncryptionConfiguration to the ECR Repository construct.

Use Case

I want to be able to encrypt the container images stored to ECR with a KMS customer managed key (CMK).

Proposed Solution

Add missing EncryptionConfiguration to the ECR Repository construct.

Other

This feature has been available on ECR since July 2020:

CloudFormation, as well as the CDK L1 construct, supports it:

You can work around this with an escape hatch, but it should not be necessary.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ecrRelated to Amazon Elastic Container Registryeffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.good first issueRelated to contributions. See CONTRIBUTING.mdp2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions