1 Answer
- Newest
- Most votes
- Most comments
0
Hi there,
You can also key off userMetadata from the job payload.
The example below would trigger a cloudwatch event based on the following conditions:
Service source is mediaconvert
Job status is COMPLETE
And userMedadata in the job json has key pair of env and Prod.
{
"source": [
"aws.mediaconvert"
],
"detail": {
"status": [
"COMPLETE"
],
"userMetadata": {
"env": [
"Prod"
]
}
}
}
For more information on Job tagging please see:
https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-jobs.html
answered 5 years ago
Relevant content
- asked a year ago
- Accepted Answerasked 2 years ago
- asked 5 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago