How can we set s3 lifecycle rule to delete the files form S3 bucket!

0

I am trying to delete files form my bucket as two .csv files will be pushed in my bucket daily and i want to delete both files after 14 or 16 hours, and next day the same activity will be repeated as 2 new files will be pushed and then deleted.

i think it only delete the files which get older then 24 hours if i am not wrong!

any suggestion please!!

已提问 2 年前541 查看次数
1 回答
0

Leverage a Lambda with scheduled Cron to run the S3 Delete API for the objects.

profile pictureAWS
专家
Rob_H
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则