AWS Lambda now supports .NET 6 as both a managed runtime and a container base image. Developers creating serverless applications in Lambda with .NET 6 can take advantage of new features such as improved logging, simplified function definitions using top-level statements, and improved performance using source generators. Using .NET 6 also lets you take advantage of new .NET language features and performance optimizations. For more information on Lambda’s support for .NET 6, see our blog post at .NET 6 runtime now available in AWS Lambda.
Source:: Amazon AWS