Skip to content

AdamBien/aws-quarkus-lambda-http-api-cdk-plain

Repository files navigation

Quarkus Lambda HTTP API

Quarkus application deployed as AWS Lambda function, exposed through API Gateway HTTP API. Infrastructure provisioned with AWS CDK.

Architecture

  • Runtime: AWS Lambda with ARM64 architecture
  • API Gateway: HTTP API for low-latency REST endpoints
  • Framework: Quarkus with Lambda integration
  • IaC: AWS CDK for infrastructure deployment

Modules

  • lambda - Quarkus application with JAX-RS endpoints
  • lambda-st - System tests for deployed API
  • cdk - AWS infrastructure definition

Prerequisites

  • Java 25
  • Maven
  • AWS CLI configured
  • Node.js (for CDK)

Build

mvn clean package

Deploy

./buildAndDeployDontAsk.sh

Builds both Lambda function and CDK infrastructure, then deploys without approval prompts.

Alternatively:

cd lambda && mvn clean package && cd ../cdk && mvn clean package && cdk deploy --all --require-approval=never

References

See you at: airhacks.live