Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 264

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Developing CFML Applications
<cfscript>
this.name ="Object Operations";
this.s3.accessKeyId = "key_ID";
this.s3.awsSecretKey = "secret_key";
this.s3.defaultLocation="location";
</cfscript>
For example,
<cffile action="write" output="S3 Specification" file="s3://testbucket/sample.txt"/>
s3://accessKeyId:awsSecretKey@bucket/x/y/sample.txt
• This format has the
accessKeyID
acts as the token to indicate the end of authentication information.
@
Note: If you have specified the
specified in the URL takes precedence.
Example
<cffile action="write" output="S3 Specifications"
file="s3://accessKeyID:awsSecretKey@bucket/x/y/sample.txt"/>
Supported operations
The following are the supported operations on Amazon S3:
• Create and delete bucket
• Get bucket location
• Read, write, copy, and delete object
• List keys in bucket
• Get and set metadata for object or bucket
• Get and set ACL for object or bucket
Bucket operations
Use the
tag or the
cfdirectory
and
awsSecretKey
and
accessKeyID
awsSecretKey
functions to perform the bucket operation (create, delete, or list).
directory
Last updated 1/20/2012
specified in it.
in both the URL and Application.cfc, then value
259

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents