Amazon Cognito - Amazon SNS SMS Origination Id

Amazon Cognito → AWS Lambda → Amazon SNS

This pattern creates an Amazon Cognito user pool and an AWS Lambda function.

This pattern deploys an Amazon Cognito user pool and an AWS Lambda function with required polices. Amazon Cognito sends SMS on your behalf by publishing the request to send SMS for MFA and other use cases. Cognito uses the default settings when choosing origination IDs. If you cannot secure the same origination ID, or if you operate with multiple origination IDs with your account, you will need to select the correct origination ID for your Cognito use cases. This solution will provide guidance on how to use Cognito with Lambda triggers to select origination IDs to suit your needs.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/cognito-sns-sms-origination-id

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Vinodh Kannan Sadayamuthu

Vinodh is a Specialist Solution Architect at AWS.

Follow on LinkedIn

Sarath Kumar K.S

Sarath Kumar K.S

Sarath is a Senior Technical Account Manager at AWS.

Follow on LinkedIn