Lists the objects in an S3 bucket, as a query.
s3ListBucket(bucketName [, listener, blockfactor, accessKeyId, secretAccessKey, host, timeout])
→ returns query
1000lucee.s3.accesskeyid system property or environment variable.
lucee.s3.secretaccesskey system property or environment variable.
https://. Defaults to Amazon AWS.
10000bucket and the secret key argument secretKey. Takes prefix and maxKeys as the second and third arguments instead of listener and blockfactor, and returns an array of structs with key, size, lastModified, eTag, storageClass and isDirectory. Doesn't list timeout.
Returns a query of the bucket's objects.
listing = s3ListBucket("my-bucket");
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.