jeudi 1 octobre 2020

Upload directory to S3 via API Gateway

I have a scenario where I have to upload a directory containing subfolders(inside it are pdfs). I would like to have upload button waiting for directory. Once the directory is obtained and SUBMIT button is clicked, I would like to implement PUT method to S3 via API.

How can I achieve ways?

As per my research I found following items.

Upload of single file can be done by Integrating services like

  • API Gateway(Use PUT method to upload) -> S3

  • API Gateway -> Lambda(Use Boto3 to upload) -> S3

Advance method which involves:

  • Establish SFTP Server .. (Not required in my case)

Can someone guide me in this? Am I missing something?

Aucun commentaire:

Enregistrer un commentaire