[{"data":1,"prerenderedAt":71},["ShallowReactive",2],{"pattern-apigw-http-api-lambda-efs-cdk":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":13,"deploy":15,"description":18,"extension":19,"framework":20,"gitHub":21,"highlight":6,"introBox":27,"language":32,"level":33,"meta":34,"patternArch":35,"resources":59,"s3URL":6,"services":6,"stem":65,"testing":66,"videoId":6,"__hash__":70},"patterns\u002Fpatterns\u002Fapigw-http-api-lambda-efs-cdk.json","Amazon API Gateway HTTP API to AWS Lambda to EFS",null,{"headline":8,"text":9},"Cleanup",[10,11,12],"1. Delete the stack: \u003Ccode>npx cdk destroy\u003C\u002Fcode>.","2. Confirm the stack has been deleted: \u003Ccode>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"\u003C\u002Fcode>.","3. You see a message confirming DELETE_COMPLETE.",[14],"content\u002Fcontributors\u002Frajeeva-chaurasia.json",{"text":16},[17],"cdk deploy","Create an HTTP API endpoint that calls a Lambda function with EFS access.","json","AWS CDK",{"template":22},{"projectFolder":23,"repoURL":24,"templateURL":25,"templateFile":26},"lambda-efs-cdk","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-efs-cdk","serverless-patterns\u002Flambda-efs-cdk","lambda_efs_cdk\u002Flambda_efs_cdk_stack.py",{"headline":28,"text":29},"How it works",[30,31],"This pattern attaches an EFS file system to your Lambda function to give it expandable, persistent storage.","This type of storage in a Lambda function opens the door to many new possibilities (multiple functions can even use the same file system).","Python","300",{},{"group1":36,"icon1":42,"icon2":47,"icon3":50,"line1":54,"line2":57},{"x":37,"y":38,"w":39,"h":40,"label":41},26,15,72,70,"VPC",{"x":43,"y":44,"service":45,"label":46},13,50,"apigw","HTTP API",{"x":44,"y":44,"service":48,"label":49},"lambda","AWS Lambda",{"x":51,"y":44,"service":52,"label":53},80,"efs","Amazon EFS",{"from":55,"to":56},"icon1","icon2",{"from":56,"to":58},"icon3",{"headline":60,"bullets":61},"Additional resources",[62],{"text":63,"link":64},"Using Amazon EFS for AWS Lambda in your serverless applications","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fusing-amazon-efs-for-aws-lambda-in-your-serverless-applications\u002F","patterns\u002Fapigw-http-api-lambda-efs-cdk",{"headline":67,"text":68},"Testing",[69],"See testing in the README.md file in the repo","XybMEbCwprTCG8RfAD-1wPYGQRBNzM_6NNQve7C_yJs",1778927704869]