Copy an object within S3 using low-level API syntax.
Section: S3API Object Commands
Copy an object
bash
bash
aws s3api copy-object --bucket my-bucket --copy-source source-bucket/path/file.txt --key copies/file.txtExplanation
Useful when you need metadata directives or encryption options.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing S3API Object Commands
Upload an object with s3api
Put a single object using low-level API options.
Delete a specific object version
Remove one version from a versioned bucket.