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 5 months ago
- asked 5 months ago
- asked 3 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 10 months ago