2 Answers
- Newest
- Most votes
- Most comments
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.
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.
answered 2 years ago
Relevant content
- asked 5 years ago
- asked 4 months ago
- Accepted Answerasked 3 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
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?