Amazon S3 Lifecycle Rule for Folder

My application uses Amazon S3 to store some of the files uploaded by the customer. I want to set up a rule that should automatically monitor the specific contents of a folder, in particular - to delete files that were created a month ago. Is it possible?

+3


source to share


1 answer


Yes. You can set up an S3 lifecycle policy that will force S3 to automatically delete all files older than X days: http://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectExpiration.html



0


source







All Articles