Can we get events of specific flows only of amazon connect through Amazon EventBridge service?

0

I'm trying to get events of specific flow of amazon connect using Amazon EventBridge by creating event bus and defining rule in that bus but it is configured with whole amazon connect service and getting all events of amazon connect. Same events occurring again and again.

ahmad
asked 7 months ago337 views
2 Answers
0

Hi, yes, you can use CloudTrail APIs to capture any API interaction to be captured by Eventbridge rules, this is an example: https://repost.aws/knowledge-center/automate-eventbridge-rule-cloudtrail-api and https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-log-api-call.html

profile picture
EXPERT
answered 7 months ago
  • Hi, I have implemeted cloudTrail by following documentation. It returns me only one event call is done. But I need amazon connect events.

0

https://docs.aws.amazon.com/connect/latest/adminguide/connect-eventbridge-events.html shows 3 types of events, Contacts, Contact Lens and Voice ID

You will need to create an EventBridge rule, you can follow Contact Lens example filtering just Contact Lens events:

https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-rules-eventbridge-event.html

"source" = "aws.connect"
"detail-type" = "Contact Lens Analysis State Change" 

or rules like anything but: https://docs.aws.amazon.com/connect/latest/adminguide/contact-events.html#stop-streaming-event

{
  "source": ["aws.connect"],
  "detail-type": ["Amazon Connect Contact Event"],
  "detail": {
    "eventType": [{
      "anything-but": ["CONTACT_DATA_UPDATED"]
    }]
  } 
profile pictureAWS
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions