File Lifecycle Policy (S3 file deletion)

Overview

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).

  1. Click “Add lifecycle policy” at the bottom left corner of the page

  2. Add Policy description

  3. Storage type (Currently only AWS S3 is supported)
    Action type (Currently only Delete action is supported)

  4. 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

File Lifecycle Policy can be applied to files across multiple S3 buckets.
The following permissions are required for IAM user defined in TM (the AWS Access Key ID):