Skip to content

Latest commit

 

History

History
65 lines (44 loc) · 1.79 KB

File metadata and controls

65 lines (44 loc) · 1.79 KB

Amazon Lex V2 Lambda Integration Examples

Introduction

This repo contains examples of AWS Lambda functions for use with Amazon Lex v2 code hooks.

Prerequisites

Set-up

npm install
npm run build

If you have started with a new environment, please bootstrap CDK

npm run cdk:bootstrap

Deploying

To deploy all examples

npm run cdk:deploy:all

To deploy individual examples, use the specific instructions below:

Basic pass-through Lambda function

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

Reminder Lex bot and Lambda function

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

Clean-up

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.