1 Answer
- Newest
- Most votes
- Most comments
0
Hi,
You could use the update-function-configuration command to update the runtime, by specifying the identifier of the function’s runtime from a list of possible values, on the runtime parameter.
However, as explained on the following Knowledge Center article, you can't change directly the configuration or function code in a published Lambda function version; you must first change the current unpublished function version ($LATEST) using the update-function-configuration command and then publish a new function version using the publish-version command.
I hope this helps you.
Relevant content
- asked 2 years ago
- asked a year ago
- asked a day ago
- asked 8 months ago
- AWS OFFICIALUpdated 24 days ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago