This is a blank project for TypeScript development with CDK.
The cdk.json
file tells the CDK Toolkit how to execute your app.
npm run build
compile typescript to jsnpm run watch
watch for changes and compilenpm run test
perform the jest unit testscdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template
npm run synth:development --vpcid=require --profile=my-profile
npm run diff:development --vpcid=require --profile=my-profile
npm run deploy:development --vpcid=require --profile=my-profile
npm run destroy:development --vpcid=require --profile=my-profile
cdk synth -c env=development --profile my-profile
cdk diff -c env=development --profile my-profile
cdk deploy -c env=development --profile my-profile
cdk destroy -c env=development --profile my-profile
1 Secrets Manager
1 SNS Topic
1 EC2 Bastion
1 DB Parameter Group
1 DB Instance
1 DB Read Replica
1 DB Instance Subnet Group
1 DB Read Replica Subnet Group
1 DB Instance Snapshot
1 DB Read Replica Snapshot
[ DB Master ]
ssh -i ~/.ssh/<keypair>.pem -L <port>:<rds-master-endpoint>:<port> ec2-user@<instanceId> -vvv
[ DB Read Replica ]
ssh -i ~/.ssh/<keypair>.pem -L <port>:<rds-read-replica-endpoint>:<port> ec2-user@<instanceId> -vvv