UNPKG

@amaabca/aws-lex-custom-resources

Version:
45 lines (44 loc) 1.35 kB
import * as cdk from '@aws-cdk/core'; import { Role } from '@aws-cdk/aws-iam'; import { Runtime } from '@aws-cdk/aws-lambda'; interface CustomResourceBaseStackProps { enabled: boolean; stackName?: string; exportName?: string; folder?: string; handlerName?: string; timeout?: number; environment?: { [key: string]: string; }; runtime?: Runtime; role?: { parentResource?: string; childResource?: string; actions?: string[]; customRole?: Role; }; } interface CustomResourcesStackProps { env?: cdk.Environment; v1?: { bot?: CustomResourceBaseStackProps; intent?: CustomResourceBaseStackProps; slotType?: CustomResourceBaseStackProps; }; v2?: { roleOutput?: string; bot?: CustomResourceBaseStackProps; intent?: CustomResourceBaseStackProps; slotType?: CustomResourceBaseStackProps; slot?: CustomResourceBaseStackProps; intentPriority?: CustomResourceBaseStackProps; botLocale?: CustomResourceBaseStackProps; botVersion?: CustomResourceBaseStackProps; botAlias?: CustomResourceBaseStackProps; }; } export declare class CustomResourcesStack extends cdk.Stack { constructor(scope: cdk.Construct, id: string, props: CustomResourcesStackProps); } export {};