Modify the Metadata of an Existing Object

You want to change the metadata associated with an existing object in S3.

Use the COPY directive to do an in-place copy of the object with the new metadata.

The metadata for an object is defined when the object is created in S3. In the past, if you ever wanted to change the metadata, you had to upload the entire object again. However, the COPY operation now provides a way to change the metadata without incurring the time and cost of uploading the object data.