How to get, upload and delete an object from s3 using aws-sdk for nodejs
Dec 17, 2022 · 2 min read · Here's the TLDR. Create a file to where all the methods will be present. // s3.js import * as AWS from '@aws-sdk/client-s3'; const bucket = process.env.AWS_BUCKET_NAME; const region = process.env.AWS_REGION; const endpoint = process.env.AWS_ENDPOIN...
Join discussion


