To add actions to an expiration lifecycle policy:
- From the Buckets page, select your bucket.
- Click the Properties tag.
- Click Configure on the policy.
- Click + Add rule.
- From the Actions section, select your preferred action by clicking its selection slider.
- To place an expiration lifecycle policy on current versions, enable Current versions. You can then set a number of days to hold these files or a specific date by which they will be deleted.
- To place an expiration lifecycle policy on previous versions, enable Non-current versions. You can then set a number of days to hold these files.
- To place an expiration lifecycle policy on incomplete multi-part uploads, enable Incomplete multi-part uploads. You can then set a number of days to hold these partially uploaded files until they are deleted.
- Optionally, you can enable Expired delete markers to automatically remove expired objects.
- Once selected, configure your action.
- When you are finished editing, click Done.