1 Answer
- Newest
- Most votes
- Most comments
0
In EventBridge, your custom payload is always included in the "detail" field, so your actual event will look like:
{
"detail-type": "MyCustomEvent",
"source": "aws.partner/salesforce.com/xxxxxxxxxxxx/xxxxxxxxxxx",
"account": "12345678921",
"time": "2022-04-06T20:24:01Z",
"resources": [],
"detail": {
"MyKey": "Value",
"Number": 12,
"References": [{
"Key1": 14
}, {
"Key2": 14
}]
}
}
Your rule should look like this:
{
"detail": {
"References": {
"Key2": [14]
}
}
}
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago