Put Bucket Abac
| s3_put_bucket_abac | R Documentation |
Sets the attribute-based access control (ABAC) property of the general purpose bucket¶
Description¶
Sets the attribute-based access control (ABAC) property of the general
purpose bucket. You must have s3:PutBucketABAC permission to perform
this action. When you enable ABAC, you can use tags for access control
on your buckets. Additionally, when ABAC is enabled, you must use the
TagResource
and
UntagResource
actions to manage tags on your buckets. You can nolonger use the
put_bucket_tagging and delete_bucket_tagging actions to tag your
bucket. For more information, see Enabling ABAC in general purpose
buckets.
Usage¶
s3_put_bucket_abac(Bucket, ContentMD5, ChecksumAlgorithm,
ExpectedBucketOwner, AbacStatus)
Arguments¶
Bucket |
[required] The name of the general purpose bucket. |
ContentMD5 |
The MD5 hash of the For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. |
ChecksumAlgorithm |
Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide. |
ExpectedBucketOwner |
The Amazon Web Services account ID of the general purpose bucket's owner. |
AbacStatus |
[required] The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets. |
Value¶
An empty list.
Request syntax¶
svc$put_bucket_abac(
Bucket = "string",
ContentMD5 = "string",
ChecksumAlgorithm = "CRC32"|"CRC32C"|"SHA1"|"SHA256"|"CRC64NVME"|"SHA512"|"MD5"|"XXHASH64"|"XXHASH3"|"XXHASH128",
ExpectedBucketOwner = "string",
AbacStatus = list(
Status = "Enabled"|"Disabled"
)
)