Trying to call an AWS Lambda function from a CXone Architect Data Action. Getting a 403 Forbidden error in the logs. The IAM role attached to the Lambda has lambda:InvokeFunction permission, and the Data Action is using a valid API key. Here is the IAM policy statement:
{
"Effect": "Allow",
"Action": "lambda:InvokeFunction",
"Resource": "arn:aws:lambda:us-west-2:123456789:function:my-contact-handler"
}
Is the Data Action sending the request from a specific IP that needs to be whitelisted in the resource policy? Or am I missing a header in the HTTP request configuration?