Table of Contents

Class S3Permission

Namespace
Amazon.S3
Assembly
AWSSDK.S3.dll

A list of all ACL permissions. For more information, refer to http://docs.amazonwebservices.com/AmazonS3/latest/S3_ACLs.html#S3_ACLs_Permissions.

public sealed class S3Permission : ConstantClass
Inheritance
S3Permission

Constructors

S3Permission(string)

Construct S3Permission.

public S3Permission(string value)

Parameters

value string

S3Permission(string, string)

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

public S3Permission(string value, string headerName)

Parameters

value string
headerName string

Fields

FULL_CONTROL

Provides READ, WRITE, READ_ACP, and WRITE_ACP permissions. It does not convey additional rights and is provided only for convenience.

public static readonly S3Permission FULL_CONTROL

Field Value

S3Permission

READ

When applied to a bucket, grants permission to list the bucket. When applied to an object, this grants permission to read the object data and/or metadata.

public static readonly S3Permission READ

Field Value

S3Permission

READ_ACP

Grants permission to read the ACL for the applicable bucket or object. The owner of a bucket or object always has this permission implicitly.

public static readonly S3Permission READ_ACP

Field Value

S3Permission

RESTORE_OBJECT

Gives permission to restore an object that is currently stored in Amazon Glacier for archival storage.

public static readonly S3Permission RESTORE_OBJECT

Field Value

S3Permission

WRITE

When applied to a bucket, grants permission to create, overwrite, and delete any object in the bucket. This permission is not supported for objects.

public static readonly S3Permission WRITE

Field Value

S3Permission

WRITE_ACP

Gives permission to overwrite the ACP for the applicable bucket or object. The owner of a bucket or object always has this permission implicitly. Granting this permission is equivalent to granting FULL_CONTROL because the grant recipient can make any changes to the ACP.

public static readonly S3Permission WRITE_ACP

Field Value

S3Permission

Properties

HeaderName

Gets and sets the HeaderName property.

public string HeaderName { get; }

Property Value

string

Methods

FindValue(string)

Finds the constant for the unique value.

public static S3Permission FindValue(string value)

Parameters

value string

Returns

S3Permission

Operators

implicit operator S3Permission(string)

Converts the string to an S3Permission

public static implicit operator S3Permission(string value)

Parameters

value string

Returns

S3Permission