Lambda Private Link

I followed the docs here:

I have a VPC with a private and a public subnet. The VPC endpoint is configured and both active on the AWS and the Atlas side.

In the Atlas UI I got the connection string for the PrivateLink connection.

When I try to connect a AWS Lambda function, residing in the private subnet, the connection times out.

Connection string looks like this: mongodb+srv://

Any help would be appreciated.