This repo contains examples of AWS Lambda functions for use with Amazon Lex v2 code hooks.
- AWS Account
- AWS IAM user with Administrator permissions
- Node (v18)
- NPM (v9)
- AWS CLI v2
- AWS CDK v2
npm install
npm run build
If you have started with a new environment, please bootstrap CDK
npm run cdk:bootstrap
To deploy all examples
npm run cdk:deploy:all
To deploy individual examples, use the specific instructions below:
If you are just looking to get a basic template, or to do some experimenting and learning, this Lambda function will give you a place to start.
See README for detailed information.
npm run cdk:deploy:basiclambda
This bot shows a simple non-functional example of a Reminder bot showing example Lambda function integrations and conditional flows. It deploys both the Lex bot and the Lambda function and connects the Lambda function to the bot as part of deploy.
See README for detailed information.
npm run cdk:deploy:reminderbot
To remove all resources created as part of all stacks run the below:
npm run cdk:destroy:all
See individual READMEs for specific instructions to just remove individual Stacks.