@scloud/cdk-patterns
Version:
Serverless CDK patterns for common infrastructure needs
12 lines (11 loc) • 415 B
TypeScript
import { Construct } from 'constructs';
import { Repository } from 'aws-cdk-lib/aws-ecr';
/**
* @deprecated Use EcrRepository instead
*
* An API gateway backed by a Lambda function.
* @param construct Parent CDK construct (typically 'this')
* @param name The name for this repository
* @returns The created repository
*/
export declare function ecrRepository(construct: Construct, name: string): Repository;