how to download images from an s3 public bucket to computer javascript code example
Example: get downloadable link to s3 bucket object js
s3.getSignedUrl('getObject', {
Bucket: bucketName,
Key: fileKey,
ResponseContentDisposition: `attachment; filename="${fileName}"`,
Expires: 60 * 5,
});