copy-object
The aws s3api copy-object
CLI command allows you to copy an existing object within the same bucket or to a different bucket.
Syntax
Options
destinationbucket
: The name of the S3 bucket where the copy will be stored.destinationkey
: The key for the new object in the S3 bucket.sourcebucket
:The name of the S3 bucket where the copy source is to be retrieved.sourcekey
:The name of the source object.
See also the original AWS documentation.