In an AWS environment with a connection to an on-premises data center via Direct Connect, a development team has created a Lambda function needing access to a private subnet database. What configuration is required for the Lambda function to access the database?