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
demandé il y a 6 ans213 vues
1 réponse
0
Réponse acceptée

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
répondu il y a 6 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions