AWSS3GetPresignedURL

Typefunction
Dictionarylibrary.aws
LibraryAmazon Web Services
Syntax
AWSS3GetPresignedURL(<pBucket>,<pObject>,<pExpires>)
Associationscom.livecode.library.aws
Summary

Get a pre-signed url that is valid for a perod of time

Parameters
NameTypeDescription
pBucket

The name of a bucket

pObject

The name (key) of the object

pExpires

The number of seconds between 1 and 604800 the signature should remain valid for. If not specified the default is 86400 (1 day).

Example
-- allow 2 hours to play video
set the filename of player 1 to AWSS3GetPresignedURL("mybucket", "myvideo.mpg", 7200)
Values
NameTypeDescription
return

A pre-signed URL

Description

Use a pre-signed url to provide access to objects to applications that are unable to sign requests themselves.

Tagsnetworking,networking