先决条件 Nodejs 10.x版 AWS帐户和本地配置的AWS凭证 安装 安装项目依赖项 $ npm i -g cdk@1.75.0 $ npm i $ cdk bootstrap 如何使用 CDK部署 $ git clone https://github.com/HoYoung1/HelloCodedeploy.git # You must modify your accountId and region in the lib/config.ts file. $ cdk list $ cdk deploy 设置子模块 $ git submodule init && git submodule update # CodeDeploy Sample 이용하기 $ cd ./aws-codedeploy-samples/applications/SampleApp_Linux $ ls -l