These are CDK examples exclusively written in typescript. These are CDK template/patterns that I came across my journey with AWS CDK. I hope other people find it helpful as I myself refer to these examples time to time.
Detailed explanation of each cdk example will be found at
Redirect from www to non-www url
Build and deploy react app on s3 and cloudfront with Codepipeline
Build and deploy hugo website on s3 and cloudfront with Codepipeline
Build docker container and deploy SSR NextJS app on Fargate with ECS and Codepipeline
Share code and dependency library between multiple lambda functions with layers
Lambda that is deployed with CDK can be invoked locally with SAM for faster iteration.
We will deploy HTTP API with CDK and you can consume api via subdomain or via main domain.
Lambda function written in typescript. It is compiled and build to javascript and deployed with CDK.
We are using latest AWS SDK V3 for Javascript for doing CRUD operations on Dynamodb with Lambda functions written in typescript.
Build golang lambda function inside docker container that matches closely with the production environment.
We are going to run lambda on multiple ram settings to find out which gives you better value for money 💰.
Before deploying changed to production website we deploy changes to preview site and test.