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
feita há 6 anos213 visualizações
1 Resposta
0
Resposta aceita

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
ESPECIALISTA
respondido há 6 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas