Is there a way to not change an S3 object's Last-Modified date when copying it to a new bucket?

0

Can not see the last change on my S3 buket files when I access html pages why?

已提問 2 年前檢視次數 5293 次
1 個回答
0

Hello,

You can use S3 Replication feature to retain S3 object’s Last-Modified date when copying to a new S3 bucket where S3 Replication retains all metadata, such as the original object creation time and version IDs. For more details, please refer: Replicating objects - https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html

Amazon S3 automatically updates the last-modified field for object whenever it is created, updated or replaced. You should be able to see it in the S3 console or by using CLI (head-object).

Thank you!

AWS
支援工程師
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南