This is an AWS Lex example using an AWS Lambda with Go, and the AWS CDK to manage resources.
The end goal is to communicate with an AWS Lex chatbot using HTTP.
- in
CDK
runnpm install
- Ensure you have an aws profile configured with administrator access. (Don't use your root account).
- Unfortunately, AWS Lex does not produce CloudFormation templates. You will need to use the AWS Console to create an AWS Lex bot
- You can build your lambda by running
make build
in any lambda/LexLambdaFunction
Once you've completed the above steps, a cdk bootstrap
and cdk deploy
in the CDK
directory will deploy your infrastructure
WIP