aws s3api put-bucket-logging
End of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs). AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--bucket-logging-statusContainer for logging status information.--bucketThe name of the bucket for which to set the logging parameters.--checksum-algorithmIndicates the algorithm used to create the checksum for the request when you use the SDK.--content-md5The MD5 hash of the PutBucketLogging request body.--expected-bucket-ownerThe account ID of the expected bucket owner.