@amaabca/aws-lex-custom-resources
Version:
AWS Lex infrastructure as code via the CDK
28 lines (27 loc) • 603 B
TypeScript
import { Role } from '@aws-cdk/aws-iam';
import { Runtime } from '@aws-cdk/aws-lambda';
interface StackProps {
exportName: string;
handler: {
folder: string;
entry?: string;
handlerName: string;
environment: {
[key: string]: string;
};
timeout: number;
runtime?: Runtime;
};
role?: {
parentResource?: string;
childResource?: string;
actions?: string[];
customRole?: Role;
};
type?: BotType;
}
declare enum BotType {
V1 = 'V1',
V2 = 'V2'
}
export { StackProps, BotType };