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
preguntada hace 6 años213 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
EXPERTO
respondido hace 6 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas