Skip to content

Instantly share code, notes, and snippets.

@abeymm
abeymm / cleanup-steps.md
Created November 19, 2022 20:29 — forked from aws-amplify-ops/cleanup-steps.md
Steps for cleaning user data for owner based auth schema

Who is this Gist for?

This Gist demonstrates an approach to removing a specific user's data from an Amazon DynamoDB table that was created as an AWS AppSync data source. It may be helpful for those who need to remove records that are associated with a Cognito User that will be deleted from their Cognito User Pool.

Steps to clean up user data

Clean up user data with DataStore disabled (conflict resolution disabled)

Assuming you have this schema