Skip to content
Serverless + Step Functions - Copy users from AWS Cognito to DynamoDB
JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore 1st commit Sep 17, 2018
README.md 1st commit Sep 17, 2018
handler.js add step function to copy user department to DynamoDb Nov 28, 2018
package.json 1st commit Sep 17, 2018
serverless.yml add step function to copy user department to DynamoDb Nov 28, 2018

README.md

Author: Yi Ai

Cognito Dynamodb Sync tool

This repository contains the source code of lambda functions which are

  • Send custom notification to newly confirmed user
  • Sync Cognito new user to Dynamodb User table

Deployment

Run the following command to deploy the function:

serverless deploy --stage production --region yourRegion

Setup Cognito Trigger

Go to Cognito User Pool trigger setting page, Assign the deployed Lambda function to the Post confirmation trigger

You can’t perform that action at this time.