Adding Users to DynamoDB using a Cognito Post-confirmation Lambda Trigger & Exposing a GraphQL API

Adding Users to DynamoDB using a Cognito Post-confirmation Lambda Trigger & Exposing a GraphQL API

23.219 Lượt nghe
Adding Users to DynamoDB using a Cognito Post-confirmation Lambda Trigger & Exposing a GraphQL API
In this video I'll walk you through how to create a back end that implements an Amazon Cognito Post-confirmation Lambda Trigger that automatically stores users in Amazon DynamoDB after they have signed up. We'll also look at how to manage access to the API using Cognito and Cognito Groups plus learn how to connect the services to a React app. I will be using AWS Amplify to build the infrastructure as well as on the client to connect to the services. Relevant code: https://gist.github.com/dabit3/5dd7069c91e46ee015c828c5384edb0f 0:00 - Introduction 0:45 - Project setup 1:34 - Adding the authentication service 2:59 - Writing the code for the Lambda Trigger 4:18 - Adding the GraphQL API 5:15 - Configuring permissions and environment variables 7:26 - Writing the front-end code 8:13- Testing it out