AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ECR::Repository

CfnRepository

L1 CloudFormation construct for AWS::ECR::Repository

Import

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

Or use the module namespace:

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

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

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

Subscribe to Newsletter