AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
A list of all possible CannedACLs that can be used for S3 Buckets or S3 Objects. For more information about CannedACLs, refer to http://docs.amazonwebservices.com/AmazonS3/latest/RESTAccessPolicy.html#RESTCannedAccessPolicies.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.ConstantClass
    Amazon.S3.S3CannedACL

Namespace: Amazon.S3
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public sealed class S3CannedACL : ConstantClass

The S3CannedACL type exposes the following members

Constructors

NameDescription
Public Method S3CannedACL(string) Construct instance of S3CannedACL. It is not intended for this constructor to be called. Instead users should call the FindValue.

Properties

NameTypeDescription
Public Property Value System.String Inherited from Amazon.Runtime.ConstantClass.

Methods

NameDescription
Public Method Static Method FindValue(string) Finds the constant for the unique value.

Fields

NameTypeDescription
Field Static Field AuthenticatedRead Amazon.S3.S3CannedACL Owner gets FULL_CONTROL, and any principal authenticated as a registered Amazon S3 user is granted READ access.
Field Static Field AWSExecRead Amazon.S3.S3CannedACL Owner gets FULL_CONTROL. Amazon EC2 gets READ access to GET an Amazon Machine Image (AMI) bundle from Amazon S3.
Field Static Field BucketOwnerFullControl Amazon.S3.S3CannedACL Object Owner gets FULL_CONTROL, Bucket Owner gets FULL_CONTROL. This ACL applies only to objects and is equivalent to private when used with PUT Bucket. You use this ACL to let someone other than the bucket owner write content (get full control) in the bucket but still grant the bucket owner full rights over the objects.
Field Static Field BucketOwnerRead Amazon.S3.S3CannedACL Object Owner gets FULL_CONTROL, Bucket Owner gets READ This ACL applies only to objects and is equivalent to private when used with PUT Bucket. You use this ACL to let someone other than the bucket owner write content (get full control) in the bucket but still grant the bucket owner read access to the objects.
Field Static Field LogDeliveryWrite Amazon.S3.S3CannedACL The LogDelivery group gets WRITE and READ_ACP permissions on the bucket.
Field Static Field NoACL Amazon.S3.S3CannedACL Owner gets FULL_CONTROL. No one else has access rights (default).
Field Static Field Private Amazon.S3.S3CannedACL Owner gets FULL_CONTROL. No one else has access rights (default).
Field Static Field PublicRead Amazon.S3.S3CannedACL Owner gets FULL_CONTROL and the anonymous principal is granted READ access. If this policy is used on an object, it can be read from a browser with no authentication.
Field Static Field PublicReadWrite Amazon.S3.S3CannedACL Owner gets FULL_CONTROL, the anonymous principal is granted READ and WRITE access. This can be a useful policy to apply to a bucket, but is generally not recommended.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8