
Aws Sdk Java V2 Bedrock
Java SDK patterns for invoking Bedrock models, streaming responses, and creating RAG embeddings in Spring Boot.
- skills.sh installs
- 3.9K
- GitHub stars
- 372
- last updated
- Aug 21, 2026
What it does
- Covers Claude, Titan, and Llama payload construction, response parsing, and model discovery through BedrockClient and BedrockRuntimeClient
- Includes streaming with error recovery and exponential backoff examples for throttling responses such as HTTP 429 and 5xx errors
- Requires IAM roles instead of access keys and a simple validation prompt before production use
- Designed for Java teams adding generative AI or embeddings for RAG to Spring Boot microservices
Install
$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill aws-sdk-java-v2-bedrock -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
AWS SDK for Java 2.x - Amazon Bedrock
Overview
Invokes foundation models through AWS SDK for Java 2.x. Configures clients, builds model-specific JSON payloads, handles streaming responses with error recovery, creates embeddings for RAG, integrates generative AI into Spring Boot applications, and implements exponential backoff for resilience.
When to Use
- Invoke Claude, Llama, Titan, or Stable Diffusion for text/image generation
- Configure BedrockClient and BedrockRuntimeClient instances
- Build and parse model-specific payloads (Claude, Titan, Llama formats)
- Stream real-time AI responses with async handlers and error recovery
- Create embeddings for retrieval-augmented generation
- Integrate generative AI into Spring Boot microservices
- Handle throttling with exponential backoff retry logic
Quick Start
Dependencies
<!-- Bedrock (model management) -->
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bedrock</artifactId>
</dependency>
<!-- Bedrock Runtime (model invocation) -->
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bedrockruntime</artifactId>
</dependency>
Details
- Repository
- github.com/giuseppe-trisciuoglio/developer-kit
- Categories
- Java & JVM, AI Agents & LLM Apps
- First seen
- May 16, 2026
More from giuseppe-trisciuoglio/developer-kit
All 95- Aws Sdk Java V2 Messaging3.9K
- Aws Sdk Java V2 Secrets Manager3.9K
- Aws Sdk Java V2 Kms3.9K
- Aws Sdk Java V2 Rds3.9K
- Nestjs Drizzle Crud Generator3.8K
- Aws Lambda Python Integration3.8K
- Aws Lambda Typescript Integration3.8K
- Sonarqube Mcp3.8K
- Better Auth3.8K
- Aws Lambda Java Integration3.7K
- Aws Lambda Php Integration3.7K
- Spring Boot Project Creator3.7K
- Docs Updater3.7K
- Notebooklm3.7K
- Github Issue Workflow3.7K
- Dynamodb Toolbox Patterns3.7K
- Memory Md Management3.7K
- Graalvm Native Image3.7K
- Adr Drafting3.6K
- Gemini3.6K
- Copilot Cli3.6K
- Codex3.6K
- Wiremock Standalone Docker3.6K
- Aws Cdk3.5K
Similar to Aws Sdk Java V2 Bedrock
More Java & JVM
langchain4j-spring-boot-integrationSkillgiuseppe-trisciuoglio/developer-kit3.9K installsSpring Boot integration for LangChain4j that wires AI model beans, chat memory, and RAG pipelines through auto-configuration.
aws-sdk-java-v2-coreSkillgiuseppe-trisciuoglio/developer-kit3.9K installsReusable AWS SDK for Java 2.x client setup covering credentials, region, HTTP tuning, timeouts, and retries.
bedrockSkillitsmostafa/aws-agent-skills176 installsAmazon Bedrock access to foundation models through one API for text, embeddings, images, and RAG.
sap-cloud-sdk-aiPluginsecondsky/sap-skills500 starsIntegrates SAP Cloud SDK for AI into JavaScript/TypeScript and Java applications. Use when building applications with SAP AI Core, Generative AI Hub, or Orchest
amazon-bedrockSkillaws/agent-toolkit-for-aws9.3K installsComprehensive Amazon Bedrock guide for model invocation, Knowledge Bases, agents, Guardrails, and AgentCore deployment, including Payments setup.
aws-strandsSkillhoodini/ai-agents-skills250 installsOpen-source Python SDK for writing AI agent logic, tools, and multi-agent systems on Bedrock.