AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

Repository

An ECR repository for storing Docker container images

Import

import { Repository } from 'aws-cdk-lib/aws-ecr';

Or use the module namespace:

import * as ecr from 'aws-cdk-lib/aws-ecr';
// ecr.Repository

Underlying CloudFormation Resources

This L2 construct creates and manages the following CloudFormation resources.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter