Step 1: Deploy the network analyzer and Lambda function in your AWS environment
Because API Protect does not send any of your request data to Data Theorem, our network analyzer needs to be deployed in your environment.
Deploy CloudFormation Stack
From the
Step 2: Configure CloudFront Trigger
the Analyzer and the Lambda are deployed in your environment, your Cloudfront distribution needs to trigger the Lambda to mirror the traffic to the Analyzer.
In your AWS account, select the CloudFront distribution you wish to protect and click “Edit”.
In the “Function Associations” section make the following changes
Set “Origin request” to “Lambda@Edge”
Set “Function ARN / Name” to the function arn value returned from Step 1
Check “Include body”