gpt4 book ai didi

AWS S3EventSource Lambda Function Runtime(AWS S3EventSource Lambda函数运行时)

转载 作者:bug小助手 更新时间:2023-10-24 17:10:51 27 4
gpt4 key购买 nike



Is there a way to update the lambda function runtime that was created by the S3EventSource using CDK? Otherwise, CLI? Currently, we have it under Python 3.7 and that needs to be upgraded to Python 3.11.

有没有办法更新由S3EventSource使用CDK创建的lambda函数运行时?否则,CLI?目前,我们在Python3.7下安装了它,需要升级到Python3.11。


Tried to look for an option to upgrade it to Python 3.11, but it seems that there isn't a way to do that via CDK or CLI.

试图寻找一个选项将其升级到Python 3.11,但似乎没有办法通过CDK或CLI做到这一点。


更多回答
优秀答案推荐

Updating the CDK version will help to fix the said issue.

更新CDK版本将有助于解决上述问题。



  1. Update the aws-cdk version from the package.json file.

  2. Delete the node_modules/ folder in your project directory.

  3. Run the npm install to install the libraries within our package-lock.json file.


更多回答

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com