amazon web services - How to handle users data in an aws-based serverless stack -
i'm first-timer aws , i'm bit lost. have serverless stack using cognito handle authentication, dynamodb, lambda , cloudfront exposing rest services.
i don't know how handle users data. example, store user email , physical address. i've seen can have directly in cognito, however, perform custom validation when these attributes set/updated.
can trigger, letting user have write access on data?
or should restrain write access these attributes , expose rest service update them manually in lambda?
i've seen using users table in dynamodb store data, advantage compared using directly identity pool?
thanks,
you can store kind of data(email, address) in cognito user pools , validate data using presignup lambda trigger, more details.
Comments
Post a Comment