automatic download image url from s3 bucket into javascript file 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,
});