Menu
Amazon Cognito
Developer Guide

Creating an AWS Lambda Trigger for a Stage

You can create an AWS Lambda function and then associate that function with one of the user account life cycle stages to create a Lambda trigger.

To add a Lambda function to a user stage

  1. If you haven't done so already, create a Lambda function using the Lambda console.

  2. Navigate to the Amazon Cognito console, choose Manage User Pools, and then choose the user pool to add the Lambda function to.

  3. In your user pool, choose the Triggers tab.

  4. Associate a user stage with a Lambda function by choosing the function from the drop-down menu for that stage, and then save your changes.