MCPcopy Index your code
hub / github.com/cm-tanaka-keisuke/developersio-cdk

github.com/cm-tanaka-keisuke/developersio-cdk @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
102 symbols 173 edges 30 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

実践!AWS CDK

DevelopersIO 実践!AWS CDK シリーズのソースコードを公開します。

対応表

# タイトル Tags 内容 ブログリンク 投稿日
1 導入 1.introduction CDK プロジェクトの作成とサンプルリソースの実装 コチラ 2021/05/15
2 VPC 2.vpc VPC の実装 コチラ 2021/05/17
3 テスト 3.test AWS CDK でのテスト方法 コチラ 2021/05/20
4 Context 4.context Context のご紹介 コチラ 2021/05/24
5 サブネット 5.subnet サブネットの実装 コチラ 2021/05/27
6 Metadata 6.metadata Metadata の除外設定 コチラ 2021/05/31
7 ファイル分割 7.split-file ファイル分割の実施 コチラ 2021/06/03
8 抽象化 8.abstraction 抽象クラスの実装 コチラ 2021/06/07
9 リファクタリング 9.refactoring サブネット生成処理のリファクタリング コチラ 2021/06/10
10 インターネットゲートウェイ 10.internet-gateway インターネットゲートウェイの実装 コチラ 2021/06/14
11 Elastic IP 11.elastic-ip Elastic IP の実装 コチラ 2021/06/17
12 NAT ゲートウェイ 12.nat-gateway NAT ゲートウェイの実装 コチラ 2021/06/21
13 ルートテーブル 13.route-table ルートテーブルの実装 コチラ 2021/06/24
14 ネットワーク ACL 14.network-acl ネットワーク ACL の実装 コチラ 2021/06/28
15 IAM ロール 15.iam-role IAM ロールの実装 コチラ 2021/07/01
16 セキュリティグループ 16.security-group セキュリティグループの実装 コチラ 2021/07/05
17 EC2 17.ec2 EC2 の実装 コチラ 2021/07/07
18 ALB 18.alb ALB の実装 コチラ 2021/07/12
19 Secrets Manager 19.secrets-manager Secrets Manager の実装 コチラ 2021/07/15
20 RDS サブネットグループ 20.rds-subnet-group RDS サブネットグループの実装 コチラ 2021/07/19
21 RDS パラメータグループ 21.rds-parameter-group RDS パラメータグループの実装 コチラ 2021/07/22
22 RDS クラスター 22.rds-cluster RDS クラスターの実装 コチラ 2021/07/26
23 RDS インスタンス 23.rds-instance RDS インスタンスの実装 コチラ 2021/07/29
24 デバッグ 24.debug デバッグ方法のご紹介 コチラ 2021/09/09
25 Session Manager で SSH 接続 25.session-manager-ssh SSM の Session Manager を利用した、ローカルマシンから EC2 インスタンスへの SSH 接続方法 コチラ 2021/09/16
26 Version 2 26.version-2 AWS CDK v2 の紹介とマイグレーション コチラ 2021/12/10
27 スタック分割 27.split-stack CDK におけるクロススタック参照 コチラ 2021/12/13
28 VPC Stack 28.vpc-stack VPC Stack の実装 コチラ 2021/12/17
29 IAM Stack 29.iam-stack IAM Stack の実装 コチラ 2021/12/20
30 よく使う CDK コマンド 30.cdk-command CDK コマンドの紹介 コチラ 2021/12/21
31 EC2 Stack 31.ec2-stack EC2 Stack の実装 コチラ 2022/02/18
32 Secrets Manager Stack 32.secrets-manager-stack Secrets Manager Stack の実装 コチラ 2022/02/28
33 RDS Stack 33.rds-stack RDS Stack の実装 コチラ 2022/03/09

Usage

  1. 実行したい tag を checkout します

    bash $ git checkout 1.introduction

  2. 必要なモジュールをインストールします

    bash $ npm install

  3. お好みでソースコードをカスタマイズします

  4. CloudFormation のテンプレートを作成します

    bash $ cdk synth

  5. デプロイします

    bash $ cdk deploy

  6. 用が済んだらリソースを削除します

    bash $ cdk destroy

あとはご自由に。

Environment

環境 バージョン
macOS 12.2.1
VS Code 1.65.1
AWS CLI 2.4.5
AWS CDK 2.14.0
TypeScript 4.5.2
Node.js v14.17.4

Extension points exported contracts — how you extend this code

IngressInfo (Interface)
(no doc)
lib/resource/security-group.ts
ResourceInfo (Interface)
(no doc)
lib/resource/security-group.ts
ResourceInfo (Interface)
(no doc)
lib/resource/secret.ts
AssociationInfo (Interface)
(no doc)
lib/resource/network-acl.ts
ResourceInfo (Interface)
(no doc)
lib/resource/network-acl.ts

Core symbols most depended-on inside this repo

createStackName
called by 5
lib/devio-stack.ts
getDynamicReference
called by 2
lib/resource/secret.ts
createEntry
called by 2
lib/resource/network-acl.ts
createSecurityGroup
called by 1
lib/resource/security-group.ts
createSecurityGroupIngress
called by 1
lib/resource/security-group.ts
createSecret
called by 1
lib/resource/secret.ts
createNetworkAcl
called by 1
lib/resource/network-acl.ts
createAssociation
called by 1
lib/resource/network-acl.ts

Shape

Class 45
Method 40
Interface 15
Function 2

Languages

TypeScript100%

Modules by API surface

lib/resource/route-table.ts9 symbols
lib/resource/network-acl.ts8 symbols
lib/resource/security-group.ts7 symbols
lib/resource/role.ts7 symbols
lib/resource/secret.ts6 symbols
lib/resource/subnet.ts5 symbols
lib/resource/rds-database.ts5 symbols
lib/resource/nat-gateway.ts5 symbols
lib/resource/instance.ts5 symbols
lib/resource/elastic-ip.ts5 symbols
lib/devio-stack.ts4 symbols
lib/stack/vpc-stack.ts3 symbols

For agents

$ claude mcp add developersio-cdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page