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
demandé il y a 4 ans926 vues
2 réponses
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
répondu il y a 4 ans
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
répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions