aws-sdk-java-v2-core

Installation
Summary

Core patterns and configuration for AWS SDK for Java 2.x service clients, authentication, and HTTP management.

  • Covers client builder patterns, credential provider chains (environment variables, profiles, IAM roles, SSO), and lifecycle management with try-with-resources
  • Supports Apache HTTP client for sync operations and Netty for async, with connection pooling, timeout configuration, and SSL optimization
  • Includes Spring Boot integration with @ConfigurationProperties, bean definitions, and externalized configuration
  • Provides error handling patterns, streaming response management, and testing strategies with LocalStack and Testcontainers
  • Best practices emphasize client reuse, proper timeout settings, resource cleanup, and security (no hardcoded credentials, IAM roles, least privilege)
SKILL.md

AWS SDK for Java 2.x Core Patterns

Overview

Use this skill to set up AWS SDK for Java 2.x clients with production-safe defaults.

It focuses on the decisions that matter most:

  • how credentials and region are resolved
  • how to configure sync and async HTTP clients
  • how to apply timeouts, retries, lifecycle management, and tests

Keep SKILL.md focused on setup and delivery flow. Use the references/ files for deeper API details and expanded examples.

When to Use

  • Creating or hardening AWS SDK for Java 2.x service clients
  • Wiring Spring Boot beans for AWS integration
  • Debugging auth, region, or credential issues
  • Choosing between sync (S3Client, DynamoDbClient) and async (S3AsyncClient, SqsAsyncClient) clients
Related skills

More from giuseppe-trisciuoglio/developer-kit

Installs
847
GitHub Stars
246
First Seen
Feb 3, 2026