To manage your files on AWS S3 bucket, you can configure File Lifecycle Policy, a set of rules that define actions that Amazon S3 applies to a group of objects. Namely, this is used to delete specific files from a bucket after a certain period.
Setting up a File Lifecycle Policy
You can set scheduled deletion of files from your S3 bucket.
From: Administrator > Web Administrator > Storage Servers > File Lifecycle Policies button.
Required role: Can access File lifecycle policies page (The access to this page is role-based).
Click “Add lifecycle policy” at the bottom left corner of the page
Add Policy description
Storage type (Currently only AWS S3 is supported)
Action type (Currently only Delete action is supported)Select when the Policy starts
Note: if you select to start the policy after order status is closed, it will activate only after the order changes its status to Closed.
5. Select files the policy will apply to.
Please note, You can either select all or narrow down the files range by choosing Selection