Solution overview
The solution we will be deploying consists of a CloudFormation template and a Connect contact flow. We will deploy the CloudFormation template first and then follow it up to create the contact flow in Connect.
CloudFormation deploys the required components to operate the Lambda function and the function itself. The Lambda function will access an internal datastore and retrieve the lab results for the identified patient. The Lambda function is written in Python.
The flow of the solution is detailed in Figure 8.1:
Everything originates from your Connect flow, which makes sense, as Connect is aware when the call originates, it would be impossible for your application to originate the request as it wouldn't know what data to send. Once your connected flow reaches the Lambda component, it begins the flow in the solution. These are the steps as they occur:
- Connect reaches out and launches the...