2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Have you also added a target to the rule - the above code defines what eventbridge should be looking for, not what to do with it.
There is a page in AWS documentation outlining the steps to add the target - https://docs.aws.amazon.com/glue/latest/dg/starting-workflow-eventbridge.html
beantwortet vor einem Jahr
0
Hi, if you look at the "suffix" example in https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html it gives an example "FileName": [ { "suffix": ".png" } ]
which checks if the field "FileName" in the event has the suffix ".png". I see you too have used "FileName" but does your event really have a field with this name? I haven't checked the S3 event definition but maybe you mean "key"?
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
Thank you @simon hammer! Yes, I added a target in the workflow with event-bridge trigger.