I have a .Net Core 3.1 API that I have created using AWS Tool Kit extension for Visual Studio.
Lambda function is hosted in same VPC and subnet as that of EC2 - Sql Sever