Interfaces
File
Represents an s3 file, and provides some functions to operate over it
Methods
generateSignedUrl()
Generates a signed URL for the file.
Examples
Parameters
• options?
Optional. Options for generating the signed URL.
• options.expiresIn?: number
The expiration time for the signed URL in seconds.
Returns
Promise
<string
>
A promise that resolves to the signed URL.
urlDescriptor()
Gets S3 URL descriptor of the file.
Returns
string
The URL descriptor of the file.