Working with Amazon Cognito user pools
Amazon Cognito is used primarily for two use cases: secure user identity management for our applications using its user pools feature and secure access to AWS resources by making use of temporary credentials using its identity pools feature. In this recipe, we will explore the user pools feature of Amazon Cognito by creating a user pool from the AWS Management Console and then creating a user within it.
Getting ready
To complete this recipe, we need Amazon Simple Notification Service (SNS) for sending SMS if we plan to use SMS verification within this recipe.
Important note
When we start using Amazon SNS for SMS messaging, our AWS account operates in an SMS sandbox. This sandbox serves as a secure space to test Amazon SNS functionalities without compromising our sender reputation. While in the sandbox, we are limited to sending SMS messages to verified destination phone numbers only.
If our AWS account is within the SMS sandbox...