Using Lambda Functions - Amazon Lex V1

This documentation is for Amazon Lex V1. If you are using Amazon Lex V2, refer to the Amazon Lex V2 guide instead. We recommend using Amazon Lex V2 to take advantage of the latest features.

Using Lambda Functions

You can create AWS Lambda functions to use as code hooks for your Amazon Lex bot. You can identify Lambda functions to perform initialization and validation, fulfillment, or both in your intent configuration.

We recommend that you use a Lambda function as a code hook for your bot. Without a Lambda function, your bot returns the intent information to the client application for fulfillment.