AWS S3 Presigned URL icon

AWS S3 Presigned URL

Generate presigned URLs for downloading or uploading objects to AWS S3

Generate Presigned URL

AI-generated

Summary

Generate a presigned URL for an AWS S3 object to allow temporary authorized access for download or upload.

Inputs

  • Bucket Name (required) — The name of the S3 bucket containing the object.
  • Object Key (required) — The key or path of the S3 object within the bucket.
  • Expires In (Seconds) (required) — Duration in seconds until the presigned URL expires (must be between 1 and 604800 seconds). Defaults to 3600 seconds (1 hour).
  • Region — AWS region to target, overriding the region set in the AWS credentials if specified.
  • Additional Options — Optional parameters to customize HTTP response headers and add custom query parameters in the presigned URL. Includes Response Content Type, Content Disposition, Cache Control, and multiple Custom Query Parameters each with a name and value.

Output shape

a list of JSON objects, each containing the original inputs plus 'presignedUrl' (the generated URL string) and 'expiresAt' (expiration timestamp in ISO 8601 format).

Outputs one item per input. On failure, includes error message when 'Continue On Fail' is enabled; otherwise throws an execution error.

Examples

Example 1: Generate a presigned URL for a private image file in the 'my-bucket' bucket valid for 2 hours with a content-disposition header to suggest download filename

Bucket Name='my-bucket', Object Key='images/photo.jpg', Expires In=7200, Additional Options > Response Content Disposition='attachment; filename="photo.jpg"'

Discussion