1 Answer
- Newest
- Most votes
- Most comments
2
Hello.
As stated in the following documentation, the object deletion action of an S3 lifecycle rule cannot be prevented by a bucket policy.
In other words, the problem you are worried about will not occur.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html
General purpose buckets — You can't use a bucket policy to prevent deletions or transitions by an S3 Lifecycle rule. For example, even if your bucket policy denies all actions for all principals, your S3 Lifecycle configuration still functions as normal.
Relevant content
- AWS OFFICIALUpdated 10 months ago
