AmazonS3geturl()

Amazon S3: Returns back a signed URL that gives people public access to a given file, with an optional expiration date

Usage

STRING = AmazonS3geturl( datasource, bucket, key, expiration )
Argument Summary
datasource Amazon datasource
bucket Amazon bucket
key Full key
expiration Optional date to expire the url; can be a CFML date or the number of seconds [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

AmazonS3geturl(
   datasource=?, 
   bucket=?, 
   key=?, 
   expiration=?
);

Supports passing parameters as a structure using ArgumentCollection:

AmazonS3geturl( ArgumentCollection={
   datasource : ?, 
   bucket : ?, 
   key : ?, 
   expiration : ?
} );