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
답변함 일 년 전
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"?
Thank you @simon hammer! Yes, I added a target in the workflow with event-bridge trigger.