Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apoorvmote/cdk-examples
These are CDK template/patterns that I came across my journey with AWS CDK.
https://github.com/apoorvmote/cdk-examples
Last synced: 2 days ago
JSON representation
These are CDK template/patterns that I came across my journey with AWS CDK.
- Host: GitHub
- URL: https://github.com/apoorvmote/cdk-examples
- Owner: apoorvmote
- License: mit
- Created: 2020-11-11T11:01:35.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-21T07:09:34.000Z (about 2 years ago)
- Last Synced: 2024-08-02T13:34:59.602Z (3 months ago)
- Language: TypeScript
- Homepage: https://apoorv.blog
- Size: 2.67 MB
- Stars: 38
- Watchers: 1
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
README
# AWS CDK examples
[![MIT License](https://badgen.now.sh/badge/License/MIT/blue)](https://github.com/apoorvmote/cdk-examples/blob/master/License.md)
![Typescript](https://badgen.net/badge/icon/typescript?icon=typescript&label)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
## [https redirect](https://apoorv.blog/redirect-www-to-non-www/)
Redirect from www to non-www url
## [React pipeline](https://apoorv.blog/deploy-reactjs-cloudfront-codepipeline-cdk/)
Build and deploy react app on s3 and cloudfront with Codepipeline
## [Hugo pipeline](https://apoorv.blog/deploy-hugo-cloudfront-codepipeline-cdk/)
Build and deploy hugo website on s3 and cloudfront with Codepipeline
## [NextJS pipeline](https://apoorv.blog/nextjs-fargate-codepipline-cdk/)
Build docker container and deploy SSR NextJS app on Fargate with ECS and Codepipeline
## [Lambda Layers](https://apoorv.blog/lambda-layers-cdk/)
Share code and dependency library between multiple lambda functions with layers
## [Lambda Local](https://apoorv.blog/run-lambda-locally-cdk-sam/)
Lambda that is deployed with CDK can be invoked locally with SAM for faster iteration.
## [HTTP API](https://apoorv.blog/http-api-cloudfront-cdk/)
We will deploy HTTP API with CDK and you can consume api via subdomain or via main domain.
## [Typescript Lambda](https://apoorv.blog/typescript-lambda-cdk/)
Lambda function written in typescript. It is compiled and build to javascript and deployed with CDK.
## [Dynamodb Crud Lambda](https://apoorv.blog/dynamodb-crud-typescript-lambda/)
We are using latest AWS SDK V3 for Javascript for doing CRUD operations on Dynamodb with Lambda functions written in typescript.
## [Golang Lambda](https://apoorv.blog/golang-lambda-cdk/)
Build golang lambda function inside docker container that matches closely with the production environment.
## [Lambda Cost Optimization](https://apoorv.blog/optimize-lambda-cost/)
We are going to run lambda on multiple ram settings to find out which gives you better value for money :moneybag:.
## [Basic auth to Password protect s3 website with cloudfront lambda@edge](https://apoorv.blog/password-protect-s3-static-site/)
Before deploying changed to production website we deploy changes to preview site and test.