Accessing SecretsManager from Lambda Function in a VPC
- Set up VPC configuration for Lambda Function
- Set up VPC configuration for Lambda Function
Probably won't work directly. Just to give an idea.
Complete guide is here//github.com/aws-samples/php-examples-for-aws-lambda/tree/master/0.7-PHP-Lambda-functions-with-Docker-container-images
Sourcecode