AWS Lambda now supports creating serverless applications using .NET 8. This runtime is based on the latest long-term support release of .NET 8. Developers can use .NET 8 as both a managed runtime and a container base image, and AWS will automatically apply updates to the managed runtime and base image as they become available.
Source:: Amazon AWS