UNPKG

@cpmech/az-cdk

Version:
22 lines (21 loc) 635 B
import { Construct } from '@aws-cdk/core'; import { Runtime, ILayerVersion } from '@aws-cdk/aws-lambda'; export interface ILayer { name: string; arn?: string; description?: string; runtime?: Runtime; dirLayer?: string; license?: string; } export interface ILambdaLayersProps { list?: ILayer[]; } export declare const commonLayer: ILayer; export declare class LambdaLayersConstruct extends Construct { readonly all: ILayerVersion[]; readonly name2layer: { [name: string]: ILayerVersion; }; constructor(scope: Construct, id: string, props?: ILambdaLayersProps); }