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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南