storeGetACL

Gets the ACL object or bucket.

storeGetACL(url, ACLObject); → returns Returns an ACLObject

Argument Reference for the storeGetACL function

ulr

Required: Yes
Amazon S3 URLs (content or object)

ACLObject

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

Examples sample code invoking the storeGetACL function


Tag Syntax

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

Fork me on GitHub