Put Bucket Policy
Sets the bucket policy of the specified bucket. The user must be the bucket owner or to have been granted s3:PutBucketPolicy permission on the bucket.
PUT /?policy HTTP/1.1
Host: {bucket}.{region}.cdn77-storage.com
Limitations
At the moment we support only the following actions to be set on the bucket:
- s3:AbortMultipartUpload
- s3:CreateBucket
- s3:DeleteBucketPolicy
- s3:DeleteBucket
- s3:DeleteBucketWebsite
- s3:DeleteObject
- s3:DeleteObjectVersion
- s3:GetBucketAcl
- s3:GetBucketCORS
- s3:GetBucketLocation
- s3:GetBucketPolicy
- s3:GetBucketTagging
- s3:GetBucketVersioning
- s3:GetBucketWebsite
- s3:GetLifecycleConfiguration
- s3:GetObjectAcl
- s3:GetObject
- s3:GetObjectVersionAcl
- s3:GetObjectVersion
- s3:IPAddress
- s3:NotIpAddress
- s3:ListAllMyBuckets
- s3:ListBucketMultipartUploads
- s3:ListBucket
- s3:ListBucketVersions
- s3:ListMultipartUploadParts
- s3:PutBucketAcl
- s3:PutBucketCORS
- s3:PutBucketPolicy
- s3:PutBucketWebsite
- s3:PutLifecycleConfiguration
- s3:PutObjectAcl
- s3:PutObject
- s3:PutObjectVersionAcl
- s3:RestoreObject
Updated on 10th September, 2024