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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ