AWS S3 Replication With Lifecycle Policy - Cross Account

0

I have a script that copies over object and their metadata from bucket A to bucket B which existst in another account. Once the objects are copied over from bukcet A, they are not needed anymore. So I want to add a lifecycle policy to only bucket A that will delete the objects after 2 days. Since am copying object and their metadata from bucket A, does this means the lifecycle policy applies to bucket B eventhough there is no lifecycle configuration for it? When copied over, do the objects in bucket B still expire after the 2 days?

Edited by: Asuman on Jan 23, 2020 5:52 AM

Asuman
已提问 4 年前926 查看次数
2 回答
0

https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html
AWS states that there are stuff like the object metadata, Unencrypted objects, Object tags, if there are any are replicated during the replication process. It also states bucket/object configuration like the lifecycle policy are not replicated across account. That answered my quaestio :)

Asuman
已回答 4 年前
0

https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html
AWS states that there are stuff like the object metadata, Unencrypted objects, Object tags, if there are any are replicated during the replication process. It also states bucket/object configuration like the lifecycle policy are not replicated across account. That answered my quaestio :)

Asuman
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则