S3 Bucket Object Versioning & Lifecycle Rules - Applied to Existing Objects or only New?

0

Do S3 Bucket Lifecycle Rules and Object Versioning apply to existing objects or only new ones?

AWS
已提問 7 年前檢視次數 2582 次
1 個回答
0
已接受的答案

http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-set-lifecycle-configuration-intro.html says: " When you add a lifecycle configuration to a bucket, the configuration rules apply to both existing objects and objects that you add later. For example, if you add a lifecycle configuration rule today with an expiration action that causes objects with a specific prefix to expire 30 days after creation, Amazon S3 will queue for removal any existing objects that are more than 30 days old. "

http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectVersioning.html says: " When you enable versioning on a bucket, existing objects, if any, in the bucket are unchanged: the version IDs (null), contents, and permissions remain the same. "

AWS
已回答 7 年前

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

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

回答問題指南