All Projects → vbudilov → cognito-to-dynamodb-lambda

vbudilov / cognito-to-dynamodb-lambda

Licence: other
Copy newly-confirmed users from Cognito to DynamoDB

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to cognito-to-dynamodb-lambda

Aws Mobile React Sample
A React Starter App that displays how web developers can integrate their front end with AWS on the backend. The App interacts with AWS Cognito, API Gateway, Lambda and DynamoDB on the backend.
Stars: ✭ 650 (+855.88%)
Mutual labels:  dynamodb, cognito
Awsmobile Cli
CLI experience for Frontend developers in the JavaScript ecosystem.
Stars: ✭ 147 (+116.18%)
Mutual labels:  dynamodb, aws-cognito
Workshop Donkeytracker
Workshop to build a serverless tracking application for your mobile device with an AWS backend
Stars: ✭ 27 (-60.29%)
Mutual labels:  dynamodb, cognito
aws-dynamodb-java-example-local-testing
Example Gradle Java project for using AWS DynamoDB for local testing.
Stars: ✭ 22 (-67.65%)
Mutual labels:  dynamodb, aws-dynamodb
lifemanager
⏱ 한 일을 기록하면 시각화 해서 보여주는 웹 앱⏱
Stars: ✭ 85 (+25%)
Mutual labels:  aws-cognito, aws-dynamodb
aws-appsync-iot-core-realtime-dashboard
This sample application demonstrates a React based web dashboard receiving real-time updates from IoT sensors. The solution is built with AWS AppSync, AWS Amplify, Amazon Location Service, and AWS IoT Core technologies.
Stars: ✭ 75 (+10.29%)
Mutual labels:  dynamodb, cognito
Aws Cli Cheatsheet
☁️ AWS CLI + JQ = Make life easier
Stars: ✭ 94 (+38.24%)
Mutual labels:  dynamodb, cognito
gozeit
GoZeit
Stars: ✭ 19 (-72.06%)
Mutual labels:  dynamodb, cognito
react-native-appsync-s3
React Native app for image uploads to S3 and storing their records in Amazon DynamoDB using AWS Amplify and AppSync SDK
Stars: ✭ 18 (-73.53%)
Mutual labels:  dynamodb, aws-dynamodb
DynamodbToCSV4j
Dump DynamoDB data into a CSV file using java
Stars: ✭ 18 (-73.53%)
Mutual labels:  dynamodb, aws-dynamodb
twitter
A serverless social network that's under development with some cool stuff, such as Serverless Framework, AppSync, GraphQL, Lambda, DynamoDB, Cognito, Kinesis Firehose, and Algolia ☁️
Stars: ✭ 29 (-57.35%)
Mutual labels:  dynamodb, cognito
aws-secure-websockets
Secure web socket implementation using AWS products and serverless framework
Stars: ✭ 49 (-27.94%)
Mutual labels:  aws-cognito, aws-dynamodb
telegram-stepfunctions-bot
Serverless Telegram bot made on 4 AWS Lambda chained by AWS Step Functions. All of this written on Serverless Framework using plugins.
Stars: ✭ 26 (-61.76%)
Mutual labels:  dynamodb, aws-dynamodb
Aws Amplify Graphql
Sample using AWS Amplify and AWS AppSync together for user login and authorization when making GraphQL queries and mutations. Also includes complex objects for uploading and downloading data to and from S3 with a React app.
Stars: ✭ 490 (+620.59%)
Mutual labels:  dynamodb, cognito
dynamodb-simple
Type-safe Haskell framework for AWS DynamoDB
Stars: ✭ 16 (-76.47%)
Mutual labels:  dynamodb, aws-dynamodb
Aws Amplify Ecommerce
Learn how to integrate AWS Amplify and Amazon Pinpoint to create a retail website. You use the event data that's generated by customers activities on your site to send custom-tailored emails, creating a curated, omnichannel experience.
Stars: ✭ 71 (+4.41%)
Mutual labels:  dynamodb, cognito
terraform-aws-backup
Terraform module to provision AWS Backup, a fully managed backup service that makes it easy to centralize and automate the back up of data across AWS services such as EBS volumes, RDS databases, DynamoDB tables, EFS file systems, and AWS Storage Gateway volumes.
Stars: ✭ 62 (-8.82%)
Mutual labels:  dynamodb, aws-dynamodb
typedorm
Strongly typed ORM for DynamoDB - Built with the single-table-design pattern in mind.
Stars: ✭ 224 (+229.41%)
Mutual labels:  dynamodb, aws-dynamodb
Aws Mobile React Native Starter
AWS Mobile React Native Starter App https://aws.amazon.com/mobile
Stars: ✭ 2,247 (+3204.41%)
Mutual labels:  dynamodb, cognito
amazon-ivs-ugc-web-demo
This repository shows how you can build a compelling user-generated content (UGC) live streaming webapp with Amazon IVS.
Stars: ✭ 14 (-79.41%)
Mutual labels:  dynamodb, cognito

Author: Vladimir Budilov Find me on Medium or LinkedIn and YouTube

Copy users from Cognito to DynamoDB

This AWS Lambda function automates the backup of newly-confirmed Amazon Cognito users to Amazon DynamoDB. This can be useful in many scenarios, especially when trying to tie in user-specific data to the actual users. For example, if you're using AWS AppSync you can query for user events and automatically retrieve the user info without calling an external service.

Prerequisites

  1. Serverless framework
  2. Create your 'Users' DynamoDB table
  3. Create your Cognito User Pool
  4. Setup your CLI credentials
  5. Modify the following 3 variables in the serverless.yml file to fit your needs (the user pool name is the name you gave it during creation):
  myRegion: us-east-1
  myDDB: Users
  myPool: my-userpool-name
  1. By default the code assumes that your composite keys are 'userId' and 'sortKey'. Make sure you either change the code or change your DDB table (preferrably the former), otherwise this Lambda function will keep on failing.
            'userId': {S: event.request.userAttributes.sub},
            'sortKey': {S: "user"},

Deployment/Setup

Run the following command to deploy the function:

serverless deploy

You're all set!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].