I am trying to understand the AWS EventBridge better.
I've sent an event manually through the console that was confirmed:
Then I tried to create a rule for the same event bus to catch that event when I hit "Resend" (in the picture above).
However, I get stuck at creating the rule.
As sample event (I know this is optional, but still) I copy-pasted the event that I sent manually:
And as matching rule I copy-pasted the same, which, I think, should just work as it appears that this is exactly the event that I would be sending manually (see first picture above). <--- Wrong assumption?
There is a blind spot in my understanding, but I don't see it, what am I doing wrong here?
version must be an object or an array
you need to enclose version value in[]
. E.g.”version”: [“0”]
Edit:
This is not just for the
version
in your example. All values within the pattern should be an object.E.g.: