aws外部命令主要命令
作者:互联网
mkdir lambda
cd lambda
>lambda_function.py
pip install requests -t .
zip lambda.zip -r *
aws lambda create-function --function-name testFunction1 --runtime python3.9 --role arn:aws:iam::942703263142:role/youyiyi --zip-file fileb:///home/ec2-user/environment/lambda/lambda.zip --handler lambda_function.lambda_handler
标签:function,zip,--,外部命令,aws,命令,handler,lambda 来源: https://www.cnblogs.com/dengxinkai/p/16489082.html