Amazon Lambda adds support for Java 25 in Amazon Web Services China Regions
Amazon Lambda now supports creating serverless applications using Java 25 in the Amazon Web Services China (Beijing) Region, Operated by Sinnet, and the Amazon Web Services China (Ningxia) Region, Operated by NWCD. This runtime is based on the latest long-term support release of Amazon Corretto, Amazon’s distribution of OpenJDK. You can use Java 25 as both a managed runtime and a container base image, and Amazon Lambda will automatically apply updates to the managed runtime and base image as they become available.
This release brings the latest Java language features to Lambda developers, such as primitive types in patterns, module import declarations, and flexible constructor bodies. It also includes several performance enhancements, such as Ahead-of-Time caches, adjustments to tiered compilation defaults, and removing the patch for the Log4Shell vulnerability from 2021. You can use the full range of Amazon Web Services deployment tools, including the Lambda console, Amazon CLI, Amazon Serverless Application Model (SAM), and Amazon CloudFormation to deploy and manage serverless applications written in Java 25. The runtime supports Lambda Snap Start for fast cold starts. Powertools for Amazon Lambda (Java), a developer toolkit to implement serverless best practices and increase developer velocity, also supports Java 25.
Visit our product page for more information about Amazon Lambda or sign in to the Amazon Lambda console to get started.