Skip to main content

Use Case Building Blocks

Code Documentation Examples

Use-case driven composable infrastructure constructs that accelerate serverless development and modernization on AWS. Each use case provides multiple implementation pathways with industry-specific examples.

Core Use Cases

Use CaseDescriptionQuick Deploy Examples
Document ProcessingIntelligent document processing workflows with classification, extraction, and agentic capabilitiesBedrock Document Processing
Agentic Document Processing
Full-Stack Insurance Claims Processing Web Application
Web ApplicationStatic web application hosting with global CDN, security headers, and SPA supportFull-Stack Insurance Claims Processing Web Application

Foundation and Utilities

ComponentDescription
Agentic AI FrameworkComposable enterprise framework for building intelligent AI agents that can be mixed and matched across diverse use cases - from document processing to conversational AI
Infrastructure FoundationCore infrastructure components including VPC networking, access logging, and EventBridge integration
Observability & MonitoringComprehensive monitoring, logging, and alerting with automatic property injection and Lambda Powertools integration
Data MaskingLambda layer for data masking and PII protection in serverless applications

Using the Constructs

When to Use Constructs As-Is

  • Ready-made implementations: Use concrete constructs (BedrockDocumentProcessing, Frontend, etc.) for standard business scenarios
  • Foundation utilities: VPC, observability, data management components work out-of-the-box
  • Configuration-driven: Most constructs offer extensive configuration options without code changes

When to Extend Base Classes

Extend abstract base classes when you need custom business logic that isn't covered by existing implementations:

// Example: Custom implementation extending a base class
class MyCustomUseCase extends BaseUseCase {
protected stepOne() {
// Your custom logic (e.g., external API integration)
return new LambdaInvoke(this, 'CustomStep', {
lambdaFunction: myCustomFunction,
resultPath: '$.stepResult'
});
}

protected stepTwo() {
// Your custom processing logic
return new StepFunctionsStartExecution(this, 'CustomWorkflow', {
stateMachine: myCustomStateMachine,
resultPath: '$.workflowResult'
});
}
}

Common extension scenarios:

  • Integration with proprietary systems or third-party services
  • Industry-specific business logic (healthcare, finance, manufacturing)
  • Custom data processing or transformation workflows
  • Specialized security or compliance requirements