Skip to main content

Lambda render expiration

Automatically delete the render after a certain period. Accepted values are 1-day, 3-days, 7-days and 30-days.
For this to work, your bucket needs to have lifecycles enabled.

CLI flag​

--delete-after <value>

The following CLI commands accept this option:

APIs that have this option​

The following APIs accept this option:

Config file​

remotion.config.ts
Config.setDeleteAfter('3-days');

See also​