Obtenha o link para download para o objeto S3 Bucket JS

s3.getSignedUrl('getObject', {
  Bucket: bucketName,
  Key: fileKey,
  ResponseContentDisposition: `attachment; filename="${fileName}"`,
  Expires: 60 * 5,
});
Ever Dev