Actions
Actions are related to resources. When the resource is the current bucket, bucket-related actions should be configured in a bucket policy. When objects are specified as resources, object-related actions should be configured in a bucket policy.
Actions can be specified in either of the following ways:
- Include: The policy takes effect on specified actions.
- Exclude: The policy takes effect on all actions except the specified ones.
Actions Related to Buckets
Type |
Value |
Description |
---|---|---|
General |
* |
The value supports a wildcard character (*) that indicates all operations can be performed. |
Get* |
The value supports a wildcard character (*) that indicates all GET operations can be performed. |
|
Put* |
The value supports a wildcard character (*) that indicates all PUT operations can be performed. |
|
List* |
The value supports a wildcard character (*) that indicates all LIST operations can be performed. |
|
Bucket |
HeadBucket |
Checks whether a bucket exists. |
DeleteBucket |
Deletes a bucket. |
|
GetBucketStorage |
Obtains bucket storage information. |
|
ListBucket |
Lists objects in a bucket, and obtains the bucket metadata. |
|
ListBucketVersions |
Lists versioned objects in a bucket. |
|
ListBucketMultipartUploads |
Lists multipart uploads. |
|
GetBucketAcl |
Obtains the bucket ACL information. |
|
PutBucketAcl |
Configures a bucket ACL. |
|
GetBucketCORS |
Obtains the CORS configuration of the bucket. |
|
PutBucketCORS |
Configures CORS for a bucket. |
|
GetBucketVersioning |
Obtains the bucket versioning information. |
|
PutBucketVersioning |
Configures versioning for a bucket. |
|
ListBucketVersions |
Lists versioned objects in a bucket. |
|
GetBucketLocation |
Obtains the bucket location. |
|
GetBucketLogging |
Obtains the bucket logging information. |
|
PutBucketLogging |
Configures logging for a bucket. |
|
GetBucketWebsite |
Obtains the static website configuration of the bucket. |
|
PutBucketWebsite |
Configures the static website hosting for the bucket. |
|
DeleteBucketWebsite |
Deletes the static website hosting configuration of the bucket. |
|
GetLifecycleConfiguration |
Obtains the lifecycle rules of the bucket. |
|
PutLifecycleConfiguration |
Configures a lifecycle rule for a bucket. |
|
GetBucketInventoryConfiguration |
Obtains the inventory configuration of a bucket. |
|
PutBucketInventoryConfiguration |
Configures inventories for a bucket. |
|
DeleteBucketInventoryConfiguration |
Deletes the inventory configuration of a bucket. |
|
PutBucketPolicy |
Configures a bucket policy. |
|
GetBucketPolicy |
Obtains a bucket policy. |
|
DeleteBucketPolicy |
Deletes a bucket policy. |
|
PutBucketNotification |
Configures event notifications for a bucket. |
|
GetBucketNotification |
Obtains the event notification configuration of a bucket. |
|
PutBucketStoragePolicy |
Configures the default storage class for a bucket. |
|
GetBucketStoragePolicy |
Obtains the default storage class of a bucket. |
|
PutReplicationConfiguration |
Configures cross-region replication for a bucket. |
|
GetReplicationConfiguration |
Obtains the cross-region replication configuration of a bucket. |
|
DeleteReplicationConfiguration |
Deletes the cross-region replication configuration of a bucket. |
|
PutBucketTagging |
Configures tags for a bucket. |
|
GetBucketTagging |
Obtains bucket tags. |
|
DeleteBucketTagging |
Deletes bucket tags. |
|
PutBucketQuota |
Configures bucket storage quota. |
|
GetBucketQuota |
Queries bucket storage quota. |
|
PutBucketCustomDomainConfiguration |
Binds a user-defined domain name to a bucket. |
|
GetBucketCustomDomainConfiguration |
Obtains the user-defined domain name bound to a bucket. |
|
DeleteBucketCustomDomainConfiguration |
Unbinds a user-defined domain name from a bucket. |
|
PutDirectColdAccessConfiguration |
Configures direct reading for a bucket. |
|
GetDirectColdAccessConfiguration |
Obtains the direct reading configuration of a bucket. |
|
DeleteDirectColdAccessConfiguration |
Deletes the direct reading configuration of a bucket. |
|
GetEncryptionConfiguration |
Obtains the encryption configuration of a bucket. |
|
PutEncryptionConfiguration |
Configures default encryption for a bucket. |
|
GetBucketObiectLockConfiquration |
Obtains the default retention settings of a bucket. |
|
PutBucketObiectLockConfiquration |
Configures a default retention policy for a bucket. |
Actions Related to Objects
Type |
Value |
Description |
---|---|---|
General |
* |
The value supports a wildcard character (*) that indicates all operations can be performed. |
Get* |
The value supports a wildcard character (*) that indicates all GET operations can be performed. |
|
Put* |
The value supports a wildcard character (*) that indicates all PUT operations can be performed. |
|
List* |
The value supports a wildcard character (*) that indicates all LIST operations can be performed. |
|
Object |
GetObject |
Obtains an object and its metadata. |
GetObjectVersion |
Obtains the object of a specified version and its metadata. |
|
PutObject |
Performs PUT upload, POST upload, multipart upload, initialization of uploaded parts, and merging of parts. |
|
GetObjectAcl |
Obtains the object ACL information. |
|
GetObjectVersionAcl |
Obtains the ACL information of a specified object version. |
|
PutObjectAcl |
Configures an object ACL. |
|
PutObjectVersionAcl |
Configures the ACL for a specified object version. |
|
DeleteObject |
Deletes an object. |
|
DeleteObjectVersion |
Deletes a specified object version. |
|
ListMultipartUploadParts |
Lists uploaded parts. |
|
AbortMultipartUpload |
Cancels a multipart upload task. |
|
ModifyObjectMetadata |
Modifies object metadata |
|
RestoreObject |
Restores Archive objects. |
|
PutObjectRetention |
Configures a retention policy for an object. |