This is an AWS CDK project managed using Projen.
By default, the configuration is as follows.
This project is configured using Projen, which automates dependency management and file generation.
The following files are managed by projenrc.ts
. Do not edit them manually.
README.md
package.json
.gitignore
tsconfig.json
.eslintrc.json
.npmignore
- Other configuration files
- Modify
projenrc.ts
to update project settings. - Run
npx projen
to regenerate all managed files.
yarn install
Before running any CDK commands, copy .env.sample to .env and update the values.
cp .env.sample .env
Edit .env and set your AWS Account and Region:
"CDK_DEPLOY_ACCOUNT=123456789123",
"CDK_DEPLOY_REGION=ap-northeast-1",
Enter value in devParameter in src/parameter.ts
envName: 'Production',
repository: 'TatsuyaOoki/cdk-project',
projectName: 'xxxxx',
npx projen build
If you made changes to the CDK stack and need to update the snapshot tests, run:
npx projen test:update
This will regenerate the snapshot files based on the current CDK template.
npx projen deploy
This project is managed using Projen, which automates dependency management, project structure, and best practices.
npx projen
: Generate project filesnpx projen build
: Build and testsnpx projen test
: Run testsnpx projen deploy
: Deploy the CDK stacknpx projen destroy
: Destroy the deployed stack