Note: This article applies to the AWS Lambda data actions integration.

The following information shows a step-by-step workflow for using AWS Lambda data actions with on-premises solutions. For a conceptual overview of the solution and security measures, see Data actions with on-premises solutions overview.

  1. An AWS Lambda data action in Genesys Cloud’s Amazon Virtual Private Cloud (VPC) uses cross-account role assignments to invoke the AWS Lambda function in your Amazon VPC. For more information, see How do I allow users from another account to access resources in my account through IAM? in the AWS documentation, Create IAM resources to invoke an AWS Lambda function, and Add a data actions integration
  2. An AWS Lambda function in your Amazon VPC sends requests as HTTPS methods. For more information, see Example AWS Lambda data action with on-premises solution.
  3. The request passes through your on-premises firewall by using an AWS VPN connection. For more information, see VPN Connections in the AWS documentation.
  4. The request from your AWS Lambda function reaches your middleware server.
  5. Your middleware server sends the request to your database.
  6. Your database sends a response with the requested data to your middleware server. 
  7. Your middleware server sends the response to the AWS Lambda function in your Amazon VPC.
  8. The response passes through your on-premises firewall by using an AWS VPN connection. 
  9. The response reaches the AWS Lambda function in your Amazon VPC.
  10. The AWS Lambda function sends the response to your AWS Lambda data action in Genesys Cloud.

Workflow for data actions with on-premises solutions

For more information, see Data actions with on-premises solutions overview, Example AWS Lambda data action with on-premises solution, and About the AWS Lambda data actions integration.