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
asked 4 years ago883 views
2 Answers
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
answered 4 years ago
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
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions