S3: possible for a website user to delete content in S3?

0

Customer wants to create a Social Media Platform and would like to know if when a client/user deletes content (e.g. pics, videos) in his profile, the content can be automatically deleted in S3? Is that something the customer can configure?

AWS
asked 6 years ago206 views
1 Answer
0
Accepted Answer

This can be achieved using Cognito and the Javascript AWS SDK so that the user can assume a role and delete content on S3 (as long as the Cognito role the user assume permits). It is , however, possible that they will need application logic that would need to reside server-side (e.g. if a user removes content, a set of actions need also to be performed, or perhaps the rights provided to the user needs more logic). In that case, they could put that logic in API Gateway.

AWS
EXPERT
answered 6 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions