Lambda function should use the latest runtime environment version

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Description

This control ensures that your Amazon Lambda Function is updated to the most recent runtime environment version. Regularly updating your Lambda functions to the latest runtime version is a best practice recommended by Amazon. It is crucial for incorporating security patches, bug fixes, and accessing the latest features, ensuring the security and efficiency of your application.

Note: AWS Lambda supports deployment via both container images and .zip file archives. For container images, the runtime is determined during base image creation and is not accessible through configuration data. This is consistent for AWS and Custom base images. Consequently, this check only applies to deployment packages of the Zip type.

Remediation

To learn how to update your Lambda function’s runtime, refer to the AWS Console Documentation.