This is a blank project for CDK development with TypeScript.
The cdk.json
file tells the CDK Toolkit how to execute your app.
pnpm build
compile typescript to jspnpm watch
watch for changes and compilepnpm test
perform the jest unit testspnpm cdk deploy
deploy this stack to your default AWS account/regionpnpm cdk diff
compare deployed stack with current statepnpm cdk synth
emits the synthesized CloudFormation template
cfn-guard
cfn-guard の定義lib
AWS リソースの定義src
アプリケーションコードtests
テストコード置き場
pnpm install
uv sync
pnpm ecr:login
pnpm ecr:login
pnpm cdk synth
pnpm ecr:login
pnpm cdk deploy
pnpm py:test
pnpm ts:test
cfn-guard rulegen --template cfn-guard/rules/bucket-versioning/template.yml --output cfn-guard/rules/bucket-versioning/bucket-versioning.guard
cfn-guard rulegen --template cfn-guard/rules/vpc-enable-dns/template.yml --output cfn-guard/rules/vpc-enable-dns/vpc-enable-dns.guard
npx cdk synth | cfn-guard validate --rules cfn-guard/rules
pnpm check
pnpm py:fix
pnpm ts:fix