https://github.com/zmynx/aws-cdk-context-demo
Advanced techniques for managing AWS CDK Context
https://github.com/zmynx/aws-cdk-context-demo
aws-cdk-v2 context devops typescript
Last synced: 10 months ago
JSON representation
Advanced techniques for managing AWS CDK Context
- Host: GitHub
- URL: https://github.com/zmynx/aws-cdk-context-demo
- Owner: zmynx
- License: apache-2.0
- Created: 2025-03-23T15:50:19.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-23T16:52:26.000Z (10 months ago)
- Last Synced: 2025-03-23T17:19:48.400Z (10 months ago)
- Topics: aws-cdk-v2, context, devops, typescript
- Language: JavaScript
- Homepage: https://medium.com/@lior.dux/aws-cdk-v2-enhanced-context-management-a8e1a5dc7b6f
- Size: 50.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-cdk-context-demo

# Intro
This repository is part of my article on [AWS CDK v2: Enhanced Context Management](https://medium.com/@lior.dux/aws-cdk-v2-enhanced-context-management-a8e1a5dc7b6f). It demonstrates how to use AWS CDK Context in your CDK project. And offers a simple approach to manage your CDK project configuration at scale.
# Each Branch Represents a Different Stage in the Article
Each branch represents a different stage in the article. The branch name is the stage name. The branch `main` is the final stage.
branches:
- 1—Plain-and-simple
- 2—Easier-to-maintain
- 3-De-coupled
- 4-Use-YAML
## Welcome to your CDK TypeScript project
This is a blank project for CDK development with TypeScript.
The `cdk.json` file tells the CDK Toolkit how to execute your app.
### Useful commands
- `npm run build` compile typescript to js
- `npm run watch` watch for changes and compile
- `npm run test` perform the jest unit tests
- `npx cdk deploy` deploy this stack to your default AWS account/region
- `npx cdk diff` compare deployed stack with current state
- `npx cdk synth` emits the synthesized CloudFormation template