aws s3api put-object-acl
End of support notice: As of October 1, 2025, Amazon S3 has discontinued support for Email Grantee Access Control Lists (ACLs). AWS CLI reference
14 options Its page in the AWS CLI reference
Options
--access-control-policyContains the elements that set the ACL permissions for an object per grantee.--aclThe canned ACL to apply to the object.--bucketThe bucket name that contains the object to which you want to attach the ACL.--checksum-algorithmIndicates the algorithm used to create the checksum for the object when you use the SDK.--content-md5The Base64 encoded 128-bit MD5 digest of the data.--expected-bucket-ownerThe account ID of the expected bucket owner.--grant-full-controlAllows grantee the read, write, read ACP, and write ACP permissions on the bucket.--grant-read-acpAllows grantee to read the bucket ACL.--grant-readAllows grantee to list the objects in the bucket.--grant-write-acpAllows grantee to write the ACL for the applicable bucket.--grant-writeAllows grantee to create new objects in the bucket.--keyKey for which the PUT action was initiated.--request-payerConfirms that the requester knows that they will be charged for the request.--version-idVersion ID used to reference a specific version of the object.