@jaypie/constructs
AWS CDK constructs for serverless patterns.
Overview
Section titled “Overview”@jaypie/constructs provides AWS CDK constructs that encode best practices for common serverless patterns.
Installation
Section titled “Installation”npm install @jaypie/constructsKey Features
Section titled “Key Features”JaypieLambda
Section titled “JaypieLambda”Base Lambda construct with secrets, Datadog, and environment variables:
import { JaypieLambda } from "@jaypie/constructs";
const lambda = new JaypieLambda(this, "MyLambda", { code: lambda.Code.fromAsset("dist"), handler: "index.handler",});JaypieQueuedLambda
Section titled “JaypieQueuedLambda”Lambda + SQS queue pattern:
import { JaypieQueuedLambda } from "@jaypie/constructs";
const worker = new JaypieQueuedLambda(this, "Worker", { code: lambda.Code.fromAsset("dist"), handler: "index.handler", batchSize: 10,});JaypieBucketQueuedLambda
Section titled “JaypieBucketQueuedLambda”S3 bucket + SQS + Lambda pattern:
import { JaypieBucketQueuedLambda } from "@jaypie/constructs";
const processor = new JaypieBucketQueuedLambda(this, "Processor", { code: lambda.Code.fromAsset("dist"), handler: "index.handler",});API Documentation
Section titled “API Documentation”API documentation will be generated from TypeScript definitions.
Related Packages
Section titled “Related Packages”- @jaypie/lambda - AWS Lambda integration
- @jaypie/aws - AWS service integrations