How to configure MediaConvert to trigger different events for different inputs?

627 views Asked by At

I have configured MediaConvert to trigger a success event which is listened/handled by a lambda.

But I have different kinds of jobs for MediaConvert, which means, on success, based on the input, I would like to trigger different sns topics or lambdas.

Is it possible to trigger different success events(sns topics) based on the inputs?

1

There are 1 answers

2
jimmone On BEST ANSWER

When you start a MediaConvert job you can define a "userMetadata" object. This object could contain a key-value pair like "type": "SOME_INDETIFIER". Now you can set different EventBridge rules which act based on the "type".