Class S3CannedACL
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
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
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
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
LogDeliveryWrite
The LogDelivery group gets WRITE and READ_ACP permissions on the bucket.
public static readonly S3CannedACL LogDeliveryWrite
Field Value
NoACL
Owner gets FULL_CONTROL. No one else has access rights (default).
public static readonly S3CannedACL NoACL
Field Value
Private
Owner gets FULL_CONTROL. No one else has access rights (default).
public static readonly S3CannedACL Private
Field Value
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
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
Methods
FindValue(string)
Finds the constant for the unique value.
public static S3CannedACL FindValue(string value)
Parameters
value
string
Returns
Operators
implicit operator S3CannedACL(string)
Converts the string to an S3CannedACL
public static implicit operator S3CannedACL(string value)
Parameters
value
string