跳至内容

Is there a way to recover the deleted lambda function?

1

Hello I made a mistake. I deleted the lambda function that I was using. I want to restore the deleted lambda function. Can you tell me how?

  • When you deploy a lambda function you upload your code by zip file?

    If so just recreate a lambda function uploading last zip file

    Is it you case?

已提问 4 年前1.1万 查看次数

2 回答
3

There is no API to restore a function. This is one of the reasons that we recommend using Infrastructure as Code, such as SAM or serverless framework. You keep your functions in a repository and you deploy it from there.

AWS
专家

已回答 4 年前

专家

已审核 2 年前

0

There is no option or way to retrieve the deleted AWS lambda code, but related logs, roles, test event schemas, and triggers will be retained in your account.

已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。