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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠