How to Utilise TTL flag to discard temporary records

Dynamo-db clean up

Scenario/problem:

There is product description page where users are allowed to upload videos , preview and confirm to save against their product.

For a particular product user had uploaded a video, and he closed the product description page without saving it.

In backend video would have been uploaded to s3/media storage places. And It is being persisted without adding any value to the system since it couldn't be used with out the association with the product.

How do we resolve this?

Tech details:

UI based on react

video meta data storage in dynamodb - videos table

video association with product stored in dynamdb- products table

Video stored in s3, and further referred by streaming partners for playback