- 최신
- 최다 투표
- 가장 많은 댓글
For Python https://gist.github.com/gene1wood/4a052f39490fae00e0c3#file-all_aws_lambda_modules_python3-10-txt
Here is AWS Lambda Base Container Images (check different branches for other programming languages) https://github.com/aws/aws-lambda-base-images/tree/nodejs20.x
Hello,
To find the Lambda package directory for AWS Lambda functions, you can do the following:
For Python
List Installed Modules:
- Create a simple Lambda function with the following code:*
import sys
def lambda_handler(event, context):
installed_packages = sorted([f"{i.key}=={i.version}" for i in sys.modules.values()])
return {
'statusCode': 200,
'body': installed_packages
}
-
Deploy and invoke the function to get a list of installed packages.
-
Reference List:*
Check this gist for a list of AWS Lambda modules for Python 3.10. For Other Languages
AWS Lambda Base Images: Check the AWS Lambda Base Images repository on GitHub for different programming languages. https://github.com/aws/aws-lambda-base-images This will help you understand the available packages and directories in the AWS Lambda environment.
관련 콘텐츠
- 질문됨 2년 전
- 질문됨 일 년 전

please accept the answer if it was helpful