2 個答案
- 最新
- 最多得票
- 最多評論
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
已回答 1 年前
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"?
相關內容
- AWS 官方已更新 2 年前
Thank you @simon hammer! Yes, I added a target in the workflow with event-bridge trigger.