Table of Contents

Class S3CannedACL

Namespace
Amazon.S3
Assembly
AWSSDK.S3.dll

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.

public sealed class S3CannedACL : ConstantClass
Inheritance
S3CannedACL

Constructors

S3CannedACL(string)

Construct instance of S3CannedACL. It is not intended for this constructor to be called. Instead users should call the FindValue.

public S3CannedACL(string value)

Parameters

value string

Fields

AWSExecRead

Owner gets FULL_CONTROL. Amazon EC2 gets READ access to GET an Amazon Machine Image (AMI) bundle from Amazon S3.

public static readonly S3CannedACL AWSExecRead

Field Value

S3CannedACL

AuthenticatedRead

Owner gets FULL_CONTROL, and any principal authenticated as a registered Amazon S3 user is granted READ access.

public static readonly S3CannedACL AuthenticatedRead

Field Value

S3CannedACL

BucketOwnerFullControl

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.

public static readonly S3CannedACL BucketOwnerFullControl

Field Value

S3CannedACL

BucketOwnerRead

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.

public static readonly S3CannedACL BucketOwnerRead

Field Value

S3CannedACL

LogDeliveryWrite

The LogDelivery group gets WRITE and READ_ACP permissions on the bucket.

public static readonly S3CannedACL LogDeliveryWrite

Field Value

S3CannedACL

NoACL

Owner gets FULL_CONTROL. No one else has access rights (default).

public static readonly S3CannedACL NoACL

Field Value

S3CannedACL

Private

Owner gets FULL_CONTROL. No one else has access rights (default).

public static readonly S3CannedACL Private

Field Value

S3CannedACL

PublicRead

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.

public static readonly S3CannedACL PublicRead

Field Value

S3CannedACL

PublicReadWrite

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.

public static readonly S3CannedACL PublicReadWrite

Field Value

S3CannedACL

Methods

FindValue(string)

Finds the constant for the unique value.

public static S3CannedACL FindValue(string value)

Parameters

value string

Returns

S3CannedACL

Operators

implicit operator S3CannedACL(string)

Converts the string to an S3CannedACL

public static implicit operator S3CannedACL(string value)

Parameters

value string

Returns

S3CannedACL