aws-lambda-java-integration

Featured

Provides AWS Lambda integration patterns for Java with cold start optimization. Use when deploying Java functions to AWS Lambda, choosing between Micronaut and Raw Java approaches, optimizing cold starts below 1 second, configuring API Gateway or ALB integration, or implementing serverless Java applications. Triggers include "create lambda java", "deploy java lambda", "micronaut lambda aws", "java lambda cold start", "aws lambda java performance", "java serverless framework".

DevOps & Infrastructure 330 stars 39 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 91/100

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

Skill Content

# AWS Lambda Java Integration Patterns for creating high-performance AWS Lambda functions in Java with optimized cold starts. ## Overview This skill provides complete patterns for AWS Lambda Java development, covering two main approaches: 1. **Micronaut Framework** - Full-featured framework with AOT compilation, dependency injection, and cold start < 1s 2. **Raw Java** - Minimal overhead approach with cold start < 500ms Both approaches support API Gateway and ALB integration with production-ready configurations. ## When to Use - Deploying Java functions to AWS Lambda - Optimizing cold starts below 1 second - Choosing between Micronaut and Raw Java approaches - Configuring API Gateway or ALB integration - Setting up CI/CD pipelines for Java Lambda ## Instructions ### 1. Choose Your Approach | Approach | Cold Start | Best For | Complexity | |----------|------------|----------|------------| | Micronaut | < 1s | Complex apps, DI needed, enterprise | Medium | | Raw Java | < 500ms | Simple handlers, minimal overhead | Low | **Validate**: Confirm the approach fits your use case before proceeding. ### 2. Project Structure ``` my-lambda-function/ ├── build.gradle (or pom.xml) ├── src/main/java/com/example/Handler.java └── serverless.yml (or template.yaml) ``` **Validate**: Verify project structure matches the template. ### 3. Implementation Examples #### Micronaut Handler ```java @FunctionBean("my-function") public class MyFunction implements Function<APIGatewayProxyR...

Details

Author
giuseppe-trisciuoglio
Repository
giuseppe-trisciuoglio/developer-kit
Created
10 months ago
Last Updated
2 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category