Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . s3 ]

presign

Description

Generate a pre-signed URL for an Amazon S3 object. This allows anyone who receives the pre-signed URL to retrieve the S3 object with an HTTP GET request. For sigv4 requests the region needs to be configured explicitly.

See 'aws help' for descriptions of global parameters.

Synopsis

  presign
<S3Uri>
[--expires-in <value>]

Options

path (string)

--expires-in (integer) Number of seconds until the pre-signed URL expires. Default is 3600 seconds.

See 'aws help' for descriptions of global parameters.