Skip to main content
To update your Lambda function manually, please follow the steps below.

1. Verify configuration variables in AWS Secrets Manager

To function correctly, the Lambda function needs access to these configuration variables in your AWS Secrets Manager:
  • FPJS_BEHAVIOR_PATH
  • FPJS_PRE_SHARED_SECRET
If your current version of the lambda function is old, you might not have all the variables required by the latest version. If something is missing, follow the Cloudfront integration guide (Steps 1,2,3) to add the missing configuration variables to your AWS Secrets Manager.

2. Update the Lambda function

  1. Sign in to your AWS console.
  2. Go to AWS Lambda.
  3. Open your CloudFront integration lambda function, probably named fingerprint-pro-cloudfront-lambda-some-random-id.
  4. Scroll down to Code source.
  5. Replace the content of fingerprintjs-pro-cloudfront-lambda-function.js with the latest Lambda code from the integration’s GitHub repository. Download the latest release package.zip archive, extract its content, and use the fingerprintjs-pro-cloudfront-lambda-function.js file.
  6. Click Deploy.
  7. Scroll back up and click ActionsDeploy to Lambda@Edge.
  8. Select Use existing CloudFront trigger on this function.
  9. Select your existing trigger.
  10. Click Deploy.
Your new Lambda function will be deployed and replicated across all regions. You can go to https://yourwebsite.com/FPJS_BEHAVIOR_PATH/status to check that the function is running on the latest version and that all required configuration variables are set.