RealtimeAlertLambda Lambda Function
Configuration: This function is available to Service Cloud Voice customers who are using an Amazon Connect instance that’s provided by Salesforce. This Lambda is installed with Service Cloud Voice contact center version 8.0 or later. See Update Your Contact Center for more details. No additional configuration is necessary. See a sample version of the invokeTelephonyIntegrationApi Lambda function in GitHub.
Usage: You don’t need to call this function manually.
This Lambda function is called by the provided Cloudwatch alarms through a Simple Notification Service (SNS) topic when an event occurs. This function performs the following steps:
- Checks if the event is triggered by an SNS event.
- Populates the RealtimeAlertEvent platform event fields using the SNS event data.
- Publishes the event to Salesforce using the InvokeSalesforceRestApiFunction Lambda Function.