[{"data":1,"prerenderedAt":69},["ShallowReactive",2],{"pattern-lambda-vpc-secrets-sls":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":28,"level":29,"meta":30,"patternArch":31,"resources":48,"s3URL":6,"services":62,"stem":64,"testing":65,"videoId":6,"__hash__":68},"patterns\u002Fpatterns\u002Flambda-vpc-secrets-sls.json","AWS Lambda function in a VPC",null,{"text":8},[9],"Delete the stack: \u003Ccode>sls remove\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fwayne-greeley.json",{"text":13},[14],"sls deploy","Create a Lambda Function in a VPC with secure access to Secrets Manager.","json","Serverless Framework",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-vpc-secrets-sls","serverless-patterns\u002Flambda-vpc-secrets-sls","lambda-vpc-secrets-sls","serverless.yml",{"headline":25,"text":26},"How it works",[27],"This sample project demonstrates how to create a Lambda function in a VPC and only granting access to Secrets Manager via a VPC endpoint.","TypeScript","200",{},{"group1":32,"icon1":37,"icon2":41,"line1":45},{"x":33,"y":34,"w":33,"h":35,"label":36},34,15,70,"VPC",{"x":38,"y":38,"service":39,"label":40},50,"lambda","AWS Lambda",{"x":42,"y":38,"service":43,"label":44},80,"ssm","Secrets Manager",{"from":46,"to":47},"icon1","icon2",{"bullets":49},[50,53,56,59],{"text":51,"link":52},"Configuring a Lambda function to access resources in a VPC","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fconfiguration-vpc.html",{"text":54,"link":55},"Access an AWS service using an interface VPC endpoint","https:\u002F\u002Fdocs.aws.amazon.com\u002Fvpc\u002Flatest\u002Fprivatelink\u002Fcreate-interface-endpoint.html",{"text":57,"link":58},"AWS VPC Configuration with Serverless Framework","https:\u002F\u002Fwww.serverless.com\u002Fframework\u002Fdocs\u002Fproviders\u002Faws\u002Fguide\u002Ffunctions#vpc-configuration",{"text":60,"link":61},"Three ways to use AWS services from a Lambda in a VPC","https:\u002F\u002Fwww.alexdebrie.com\u002Fposts\u002Faws-lambda-vpc\u002F",{"from":39,"to":63},"secrets manager","patterns\u002Flambda-vpc-secrets-sls",{"text":66},[67],"See the GitHub repo for detailed testing instructions.","RQJIU2E5xtmmR3L5Pkx8G_L5WAu8m-1R3QmPtq4BnlQ",1778846886847]