Eventbridge rule with SQS fifo queue as target #23790
Replies: 3 comments 1 reply
-
The docs don't mention that it can be dynamic, so it's probably not possible: For what it's worth, you can always have a Lambda in-between which sets the message group ID. |
Beta Was this translation helpful? Give feedback.
-
It works as expected. new targets.SqsQueue(this.queue, {
message: events.RuleTargetInput.fromObject({
id: events.EventField.fromPath('$.id')
}),
messageGroupId: events.EventField.fromPath('$.detail.data.id'),
}); |
Beta Was this translation helpful? Give feedback.
-
We’ve been having this issue since longtime, I’m wondering why AWS doesn’t fix this problem. It’s basically rendering this functionality useless. I’m thinking about switching to SNS to fix this issue. |
Beta Was this translation helpful? Give feedback.
-
Hi guys!
I would like to know if it's possible to set messageGroupId dynamically based on some property received from eventBridge event.
I've tried something like
but it didn't work.
Really appreciate any help!
Beta Was this translation helpful? Give feedback.
All reactions