The AWS SDK for Java v2 is a modern, modular rewrite that reduces dependencies, improves performance, and embraces non-blocking I/O. Each AWS service ships as its own small artifact, so applications include only what they use, cutting footprint and cold-start time. The SDK provides both synchronous clients and a high-performance asynchronous stack built on event-driven HTTP, enabling reactive pipelines and high-throughput services. Models are immutable and builders are pervasive, leading to safer code and clearer intent. Credential providers, region resolution, retries, and paginators are redesigned with extensibility in mind, and integrations are available for common observability and HTTP client choices. For teams starting new Java projects on AWS, v2 is the default choice due to its modularity, improved ergonomics, and better runtime characteristics.
Features
- Per-service modules to minimize dependencies and startup time
- Sync and high-performance async clients with non-blocking I/O
- Immutable models and fluent builders for safer request construction
- Enhanced retry, paginator, and middleware customization hooks
- Flexible credential and region providers including SSO and profile chains