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.
A list of all ACL permissions. For more information, refer to http://docs.amazonwebservices.com/AmazonS3/latest/S3_ACLs.html#S3_ACLs_Permissions.
Namespace: Amazon.S3
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public sealed class S3Permission : ConstantClass
The S3Permission type exposes the following members
| Name | Description | |
|---|---|---|
|
S3Permission(string) |
Construct S3Permission. |
|
S3Permission(string, string) |
Construct instance of S3Permission. It is not intended for this constructor to be called. Instead users should call the FindValue. |
| Name | Type | Description | |
|---|---|---|---|
|
HeaderName | System.String |
Gets and sets the HeaderName property. |
|
Value | System.String | Inherited from Amazon.Runtime.ConstantClass. |
| Name | Description | |
|---|---|---|
|
FindValue(string) |
Finds the constant for the unique value. |
| Name | Type | Description | |
|---|---|---|---|
|
FULL_CONTROL | Amazon.S3.S3Permission |
Provides READ, WRITE, READ_ACP, and WRITE_ACP permissions. It does not convey additional rights and is provided only for convenience. |
|
READ | Amazon.S3.S3Permission |
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. |
|
READ_ACP | Amazon.S3.S3Permission |
Grants permission to read the ACL for the applicable bucket or object. The owner of a bucket or object always has this permission implicitly. |
|
RESTORE_OBJECT | Amazon.S3.S3Permission |
Gives permission to restore an object that is currently stored in Amazon Glacier for archival storage. |
|
WRITE | Amazon.S3.S3Permission |
When applied to a bucket, grants permission to create, overwrite, and delete any object in the bucket. This permission is not supported for objects. |
|
WRITE_ACP | Amazon.S3.S3Permission |
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. |
Explore code examples in the AWS SDK Code Examples Code Library.
Create a photo asset management application that lets users manage photos using labels
Detect objects in images with Amazon Rekognition using an AWS SDK
Get started with encryption for Amazon S3 objects using an AWS SDK
Get started with tags for Amazon S3 objects using an AWS SDK
Manage access control lists (ACLs) for Amazon S3 buckets using an AWS SDK
Perform a multipart copy of an Amazon S3 object using an AWS SDK
Upload or download large files to and from Amazon S3 using an AWS SDK
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer