get download link from s3 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,
});