AWS CDK のハンズオン。 https://cdkworkshop.com/ja/
追加で, cdk の diagram 自動生成できる cdk-dia
も試した.
npm run build
compile typescript to js /* typescript を js にコンパイルする */npm run watch
watch for changes and compile /* 変更を監視してコンパイルする */npm run test
perform the jest unit tests /* jest単体テストを実行する */cdk run draw
create an App structure image with draw.io /* draw.io で アプリ構造イメージを作成する */cdk deploy
deploy this stack to your default AWS account/region /* このスタックをデフォルトの AWS アカウント / リージョンにデプロイします */cdk diff
compare deployed stack with current state /* デプロイされたスタックを現在の状態と比較する */cdk synth
emits the synthesized CloudFormation template /* 合成された CloudFormation テンプレートを発行します */
CdkWorkshopStack.Endpoint8024A810 | https://hi0ndx6sk3.execute-api.ap-northeast-1.amazonaws.com/prod/ |
CdkWorkshopStack.ViewHitCounterViewerEndpointCA1B1E4B | https://hthcr0c9ff.execute-api.ap-northeast-1.amazonaws.com/prod/ |