1 Answer
- Newest
- Most votes
- Most comments
3
issue you're facing might be related to the event pattern in your EventBridge rule. Here's how to troubleshoot and fix it: ** Verify Event Source**
-
While your CloudTrail event shows "eventSource": "profile.amazonaws.com", the event pattern you provided uses "source": ["aws.profile"]. Try changing it to "source": ["profile.amazonaws.com"] to match the actual source.
-
The "detail-type": ["Amazon Connect Contact Event"] in your pattern might be unnecessary. Connect customer profile updates might not have a specific detail-type. Try removing it and see if the rule triggers.
{
"source": ["profile.amazonaws.com"],
"detail": {
"eventSource": ["profile.amazonaws.com"],
"eventName": ["UpdateProfile"]
}
}
For more follow the links
- Troubleshoot a Lambda function trigger failure by an EventBridge rule: https://repost.aws/knowledge-center/eventbridge-lambda-not-triggered
- Get Connect Customer profile updates via Event Bridge: https://stackoverflow.com/questions/73692725/sending-event-from-an-application-to-eventbridge
Relevant content
- asked 2 years ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago