storeGetACL

Gets the ACL object or bucket.

storeGetACL(url, ACLObject); → returns any

Argument Reference

ulr string
Required

Amazon S3 URLs (content or object)

ACLObject array
Required

An array of struct where each struct represents a permission or grant as discussed in ACLObject.

Examples
Sample code invoking the storeGetACL function

<cfset dir = 's3://bucket_Name'> 
     <cfif NOT directoryExists(dir)> 
          <cfset directoryCreate(dir)> 
 </cfif> 
     <cfset test = storeGetACL('#dir#')> 
     <cfdump var='#test#'>  

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub