awslabs / amplify-video

An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
https://www.npmjs.com/package/amplify-category-video
Apache License 2.0
267 stars 56 forks source link

VOD - Ask and create a Lambda to perform delete output when a video is removed on input bucket #158

Closed yudao closed 3 years ago

yudao commented 3 years ago

Is your feature request related to a problem? Please describe. When we remove a video from the input bucket, it will be nice to have a Lambda function auto generated, and asked Y/n on the amplify video add command, to perform the deletion of the output render. If yes the lambda is created and attached. If no, no changes from the actual behavior.

Describe the solution you'd like

 amplify add video
? Please select from one of the below mentioned services: Video On Demand
? Provide a friendly name for your resource to be used as a label for this category in the project: myvodstreams
? Select a system-provided encoding template, specify an already-created template name:  Default HLS Adaptive Bitrate
? Do you want to automatically remove converted output when video input is removed? Y/n
...

Describe alternatives you've considered No alternatives. This suggestion follow the actual architecture with S3 trigger events and Lambda functionalities.

Thanks for this great plugin!

Yu.

yudao commented 3 years ago

Sorry duplicate of #106

wizage commented 3 years ago

Closing for duplicate of #106.