Copy an object within or across Scaleway Object Storage buckets
scaleway_s3_copy_objectCopy an S3 object to a new bucket or key using server-side transfer, keeping data within the same region to avoid re-uploading.
Instructions
Server-side copy of one object to a new bucket/key, without downloading and re-uploading. Source and destination must be in the same region.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Region both buckets live in. Cross-region copy is out of scope - source and destination must be in the same region. | |
| dest_key | Yes | Key the copy is written to. | |
| source_key | Yes | Key of the object to copy. | |
| dest_bucket | Yes | Bucket the object is copied TO. Same as source_bucket for a same-bucket copy (e.g. a rename). | |
| source_bucket | Yes | Bucket the object is copied FROM. |