New advertisers: 50% off your first month with code FIRSTMONTHSee slots
giuseppe-trisciuoglio avatar

Aws Sdk Java V2 Dynamodb

Java SDK v2 patterns for DynamoDB covering Enhanced Client CRUD, queries, batches, transactions, and Spring Boot setup.

skills.sh installs
3.9K
GitHub stars
372
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers CRUD, query, scan, batch read and write, and transactional operations on DynamoDB tables and indexes
  • Includes entity mapping with @DynamoDbBean, low-level and Enhanced client setup, and a reference for GSI mapping
  • Enforces scan-cost caution by recommending query with partition keys or GSIs before falling back to a full table scan
  • Designed for Java services using AWS SDK for Java 2.x, including Spring Boot repository-pattern integration

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill aws-sdk-java-v2-dynamodb -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

AWS SDK for Java 2.x - Amazon DynamoDB

Overview

Provides DynamoDB patterns using AWS SDK for Java 2.x with Enhanced Client for type-safe CRUD, queries, batch operations, transactions, and Spring Boot integration.

When to Use

  • CRUD operations on DynamoDB items
  • Querying tables with sort keys or GSI
  • Batch operations for multiple items
  • Atomic transactions across tables
  • Spring Boot integration with DynamoDB

Instructions

  1. Add AWS SDK DynamoDB dependencies to pom.xml
  2. Configure client setup (low-level or Enhanced Client)
  3. Define entity classes with @DynamoDbBean annotations
  4. Perform operations using DynamoDbTable (CRUD, query, scan, batch, transactions)
  5. Handle partial failures with retry logic and exponential backoff
  6. Use repository pattern for Spring Boot integration

Dependencies

Add to pom.xml:

<!-- Low-level DynamoDB client -->
<dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>dynamodb</artifactId>
</dependency>

<!-- Enhanced client (recommended) -->
<dependency>
    <groupId>software.amazon.awssdk</groupId>
    <artifactId>dynamodb-enhanced</artifactId>
</dependency>

Client Setup

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
Databases, Java & JVM
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 95

Similar to Aws Sdk Java V2 Dynamodb

More Databases