UNPKG

@scloud/cdk-patterns

Version:

Serverless CDK patterns for common infrastructure needs

17 lines (16 loc) 637 B
import { Construct } from 'constructs'; import { Repository, RepositoryProps } from 'aws-cdk-lib/aws-ecr'; /** * An ECR repository. * * This construct automatically adds itself to the list of resources Github Actions needs to access. * * The removal policy is set to DESTROY by default. * This won't actually delete any container images if the stack is deleted, * but it will clean up the repository if it's empty. * * You can customise the construct via the oprional props parameter. */ export declare class EcrRepository extends Repository { constructor(scope: Construct, id: string, props?: Partial<RepositoryProps>); }