CmdID

CmdID / aws / aws s3api

aws s3api put-bucket-ownership-controls

This operation is not supported for directory buckets. AWS CLI reference

5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

5 in the AWS CLI reference
--bucketThe name of the Amazon S3 bucket whose OwnershipControls you want to set.
--checksum-algorithmIndicates the algorithm used to create the checksum for the object when you use the SDK.
--content-md5The MD5 hash of the OwnershipControls request body.
--expected-bucket-ownerThe account ID of the expected bucket owner.
--ownership-controlsThe OwnershipControls (BucketOwnerEnforced, BucketOwnerPreferred, or ObjectWriter) that you want to apply to this Amazon S3 bucket.