Skip to content

Sample for Amazon Connect Streams integration with web application

License

Notifications You must be signed in to change notification settings

NordicSoft/amazon-connect-streams-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Connect Streams Sample

This project is created to show how to integrate Amazon Connect to web applications with real-time monitoring and logging. To integrate Contact Control Panel (CCP), we need to use Amazon Connect Streams. Events in each Contact Flow block are sent as logs into Amazon CloudWatch or [Kinesis Streams] (https://aws.amazon.com/kinesis/data-streams/) (or both of them). So Logs about all events during the call are written to these services.

We need to handle all the events. The handler responds to each event, selects the necessary information and sends it to the web server. For example, we use AWS Lambda: CloudWatchLogsProcessor for CloudWatch events and KinesisStreamProcessor for KinesisStreams ones.

Since different information about the same event comes from Connect to CloudWatch and KinesisStreams , it needs to be combined. We use Amazon DynamoDB as intermediate storage to collect information about every single event. Once the call is over, KinesisStreamProcessor fetches all info related to this call from DynamoDB. After that, it sends the aggregated, filtered information to the web application.

This process is represented at sequence diagram below.

Sequence Diagram

If you did everything right and pasted your credentials to the appropriate places, this app should look like:

Screenshot

About

Sample for Amazon Connect Streams integration with web application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published