giuseppe-trisciuoglio avatar

Aws Sdk Java V2 Dynamodb

This walks you through DynamoDB operations using AWS SDK for Java 2.x with the Enhanced Client, which gives you type-safe table operations instead of wrestling with raw AttributeValue maps. You'll find patterns for CRUD, queries with sort keys and GSIs, batch operations, and transactions with proper retry logic for unprocessed items. The source includes real examples of composite keys, filter expressions, and Spring Boot configuration. One thing to note: it has a sensible warning about scans consuming read capacity across your entire table, with validation steps before you use them. If you're building Java services that talk to DynamoDB and want to avoid the boilerplate of the low-level client, this covers the common patterns with actual error handling.

skills.sh installs
3.8K
GitHub stars
369
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from giuseppe-trisciuoglio/developer-kit

All 102
1yaklang avatardangling-markup-injectionyaklang/hack-skillsDangling markup injection playbook. Use when HTML injection is possible but JavaScript execution is blocked (CSP, sanitizer strips event handlers, WAF blocks sc3.8Kskills.sh installs
2openai avatarspeechopenai/skillsUse when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run t3.7Kskills.sh installs
3giuseppe-trisciuoglio avatardocs-updatergiuseppe-trisciuoglio/developer-kitProvides automated documentation updates by analyzing git changes between the current branch and the last release tag. Performs git diff analysis to identify mo3.7Kskills.sh installs
4everyinc avatarlfgeveryinc/compound-engineering-pluginRun the full autonomous shipping pipeline end-to-end, hands-off with no check-ins: plan, implement, review and fix, commit, push a branch, open a PR, and watch 3.6Kskills.sh installs
5majidmanzarpour avatarthreejs-debug-profilermajidmanzarpour/threejs-game-skillsDebug and profile Three.js browser games. Combines scene debugging, render/runtime/loading/animation/resize/mobile input fixes, performance profiling, draw call3.6Kskills.sh installs
6forcedotcom avatarusing-ui-bundle-salesforce-dataforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the task involves ANY Salesforce record operation — reading, creating, updating, or del3.6Kskills.sh installs