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.

2 réponses
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
répondu il y a 8 mois
  • 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
répondu il y a 8 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions