- Le plus récent
- Le plus de votes
- La plupart des commentaires
System-defined object metadata, which includes an S3 object's Last-Modified date, can be modified by Amazon S3 only.
To retain an S3 object's original Last-Modified date when it's copied, you can add user-defined metadata to the object. For more information, see Editing object metadata in the Amazon S3 console.
In addition to the workaround, of using a new user-metadata field, you can also retain the last-modified date as system-defined object metadata when copying to another bucket via Replication. When objects are replicated from one bucket to anther, both source and destination have the same system-defined last-modified date.
Replicate objects while retaining metadata – You can use replication to make copies of your objects that retain all metadata, such as the original object creation times and version IDs. This capability is important if you must ensure that your replica is identical to the source object. https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html#replication-scenario
This also applies to S3 Batch Replication which wasn't available when this question was first asked, but released in February 2022.
This is unique to S3 Replication, and not supported by other S3 Batch Operations, such as the Copy Object Operation.
Contenus pertinents
- demandé il y a un an
- demandé il y a 3 mois
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans