Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventBridge Support #3614

Open
shellscape opened this issue Mar 20, 2024 · 2 comments
Open

EventBridge Support #3614

shellscape opened this issue Mar 20, 2024 · 2 comments

Comments

@shellscape
Copy link

Feature Request 🛍️

Was curious what it would take to wire up EventBridge support as an alternative to using webhooks for notifications.

Use Case

We leverage remotion in an AWS environment which makes frequent use of EventBridge. We had to spin up a small lambda+apigateway service to handle the webhook completion notifications from remotion. That webhook lambda is a level of abstraction that we'd rather do away with, since all it does is send an event to EventBridge.

Possible Solution

Remotion is lambda-based, and it would make sense that integration with other parts of the AWS ecosystem would be desirable. In particular, lambdas ship with the aws-sdk readily available, so sending an event to an EventBridge bus seems like it would be a low-effort operation.

Only potential gotchas I could think of off-hand would be permissions, but that could reasonably stated in documentation and left up to the user.

@JonnyBurger
Copy link
Member

I'm down with the idea!

Similar to other features, we can document to add more permissions if one wants to enable the feature.

@alexfernandez803
Copy link
Contributor

@shellscape assuming you are using renderMediaOnLambda().

@JonnyBurger would you think that this will need a new field, this will push the render success or failure to the the following destination.

EventBridge.

renderMediaOnLambda({ destination: { type: "EventBridge", source: "lambdarenderer", customData: { test: "dd" }. } })

SQS
renderMediaOnLambda({ destination: { type: "SQS", queue: "lambdarenderer", customData: { test: "dd" }. } })

HTTP
renderMediaOnLambda({ destination: { type: "HTTP", queue: "lambdarenderer", authorization: { userName: "", password: "" }, customData: { test: "dd" }. } })

just an idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants