Newer Version Available
Increase Performance of the ContactLensProcessor Lambda Function
For contact center 11.1 and above, you can enable Contact Lens to use
the AWS SSM Lambda extension to fetch keys from the parameter store. This extension
increases the Lambda function’s performance. To use this enhancement, configure the
ContactLensProcessor Lambda function by adding the
AWS-Parameters-and-Secrets-Lambda-Extension layer and USE_SSM_LAMBDA_EXTENSION
environment variable for the Lambda function.
- In AWS, log in to the Identity and Access Management console.
- Select the region where the Lambda functions are deployed.
- Go to Lambda, and then select <contact center name>-ContactLensProcessorFunction.
- In the Layers section, click Add a layer.
- Select AWS layers.
- From the AWS Layers dropdown, select AWS-Parameters-and-Secrets-Lambda-Extension.
- In the Version field, select 4.
- Click Add.
- Open the Configuration tab for this Lambda function.
- Select Environment variables.
- Click Edit.
- Select Add environment variable.
- Enter USE_SSM_LAMBDA_EXTENSION as the environment variable key.
- Enter true as the value environment variable.
- Click Save.
- Open the Versions tab for this Lambda function.
- Click Publish new version.
- Enter a description of the change for this new version, and then click Publish.
- To view the Lambda function details and exit the Versions page, click <contact center name>-ContactLensProcessorFunction.
- Open the Aliases tab.
- Click the alias.
- Click Edit.
- Select the latest version.
- Click Save.