get downloadable link for s3 object 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,
});