Building RESTful APIs — Serverless — Part 1 of 3 —AWS Cognito User Pools

Source: https://docs.aws.amazon.com/cognito/latest/developerguide/images/scenario-api-gateway.png

Configuring and Setting Up Amazon Cognito User Pool

“Amazon Cognito offers user pools and identity pools. User pools are user directories that provide sign-up and sign-in options for your app users.”

Amazon Cognito Dashboard
Creating an user pool
Step 1 — Setting Up user pool — Pool name
Step 2— Setting Up user pool — Attributes settings
Step 3— Setting Up user pool — Policies settings
Step 4 — Setting Up user pool —MFA and verification settings
Step 5— Setting Up user pool — MFA and verification settings
Step 6— Setting Up user pool —Tag settings
Step 7— Setting Up user pool —Devices
Step 8.1— Setting Up user pool —App clients
Step 8.2— Setting Up user pool — Creating App client
Step 8.3 — Setting Up user pool — Creating App client

“You can make advanced customizations with AWS Lambda functions. Pick AWS Lambda functions to trigger with different events if you want to customize workflows and the user experience.”

Step 9— Setting Up user pool — Triggers
Step 10— Setting Up user pool —Review
Step 11— Setting Up user pool — Finish creating user pool

“The pre sign-up Lambda function is triggered just before Amazon Cognito signs up a new user. It allows you to perform custom validation to accept or deny the registration request as part of the sign-up process.”

Image Reference: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-sign-up.html#user-pool-lambda-pre-sign-up-flows
Step 12 — Setting Up user pool — Configuring Pre sign-up trigger

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store