aws-sdk-java-v2-core

Solid

Provides AWS SDK for Java 2.x client configuration, credential resolution, HTTP client tuning, timeout, retry, and testing patterns. Use when creating or hardening AWS service clients, wiring Spring Boot beans, debugging auth or region issues, or choosing sync vs async SDK usage.

Code & Development 261 stars 29 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
81
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 ## Instructions ### 1. Select the service client type - Sync clients (`S3Client`, `DynamoDbClient`) for request/response flows - Async clients (`S3AsyncClient`, `SqsAsyncClient`) for concurrency, streaming, or backpressure - Reuse one client per service and configuration profile ### 2. Configure credential and region resolution Use `DefaultCredentialsProvider` with environment-aware defaults: - local dev: shared AWS config, SSO, or environment variables - CI/CD: web identity or injected environment variables - AWS runtime: ECS task roles, EKS IRSA, or EC2 instance profiles Override only for multi-account access, test isolation, or profile switching. **Verify**: Call `StsClient.getCallerIdentity()` at startup to confirm credentials resolv...

Details

Author
giuseppe-trisciuoglio
Repository
giuseppe-trisciuoglio/developer-kit
Created
7 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Solid

aws-sdk-java-v2-rds

Provides AWS RDS (Relational Database Service) management patterns using AWS SDK for Java 2.x. Use when creating, modifying, monitoring, or managing Amazon RDS database instances, snapshots, parameter groups, and configurations.

261 Updated 1 weeks ago
giuseppe-trisciuoglio
AI & Automation Solid

aws-sdk-java-v2-dynamodb

Provides Amazon DynamoDB patterns using AWS SDK for Java 2.x. Use when creating, querying, scanning, or performing CRUD operations on DynamoDB tables, working with indexes, batch operations, transactions, or integrating with Spring Boot applications.

261 Updated 1 weeks ago
giuseppe-trisciuoglio
DevOps & Infrastructure Solid

aws-sdk-java-v2-secrets-manager

Provides AWS Secrets Manager patterns for AWS SDK for Java 2.x, including secret retrieval, caching, rotation-aware access, and Spring Boot integration. Use when storing or reading secrets in Java services, replacing hardcoded credentials, or wiring secret-backed configuration into applications.

261 Updated 1 weeks ago
giuseppe-trisciuoglio
DevOps & Infrastructure Solid

aws-sdk-java-v2-lambda

Provides AWS Lambda patterns using AWS SDK for Java 2.x. Use when invoking Lambda functions, creating/updating functions, managing function configurations, working with Lambda layers, or integrating Lambda with Spring Boot applications.

261 Updated 1 weeks ago
giuseppe-trisciuoglio
Code & Development Solid

aws-sdk-java-v2-kms

Provides AWS Key Management Service (KMS) patterns using AWS SDK for Java 2.x. Use when creating/managing encryption keys, encrypting/decrypting data, generating data keys, digital signing, key rotation, or integrating encryption into Spring Boot applications.

261 Updated 1 weeks ago
giuseppe-trisciuoglio