macOS
brew install aws-cdklocal Homebrew formula metadata
安装
brew install aws-cdklocal Homebrew formula metadata
sudo dnf install cdkFedora Rawhide package metadata · cdk · 来源: dl.fedoraproject.org
nix profile install nixpkgs#cdknixpkgs package indexes · pkgs/by-name/cd/cdk/package.nix · 来源: api.github.com
sudo apt install libcdk-javaDebian stable package indexes · libcdk-java · 来源: deb.debian.org
sudo zypper install cdk-developenSUSE Tumbleweed package metadata · cdk-devel · 来源: download.opensuse.org
概览
AWS Cloud Development Kit - framework for defining AWS infra as code
历史
AWS CDK is Amazon Web Services' open-source framework and CLI for defining cloud infrastructure in general-purpose programming languages and provisioning it through AWS CloudFormation. The Homebrew aws-cdk package installs the cdk command-line toolkit.
AWS introduced the AWS Cloud Development Kit in developer preview in 2018. The early pitch was infrastructure as code in familiar languages rather than hand-written JSON or YAML templates, with constructs compiling down to CloudFormation.
AWS announced general availability for the CDK's TypeScript and Python support on July 11, 2019. The project then expanded its language and construct ecosystem while keeping CloudFormation as the deployment engine.
AWS CDK v2 became generally available on December 2, 2021 alongside Construct Hub. Version 2 consolidated the AWS Construct Library into aws-cdk-lib, reducing the package sprawl that CDK v1 users had to manage.
CDK was adopted by developers and platform teams who wanted the repeatability of infrastructure as code without giving up loops, functions, types, IDE tooling, and package reuse. AWS documentation describes support for TypeScript, JavaScript, Python, Java, C#/.NET, and Go.
Its package culture grew around constructs: reusable modules that describe cloud resources and higher-level patterns. That ecosystem matters because the cdk CLI is only one piece; real adoption depends on libraries, generated CloudFormation resource definitions, and repeatable synthesis/deploy workflows.
Typical usage begins with cdk init, then cdk synth to generate a cloud assembly, cdk diff to compare deployed infrastructure, and cdk deploy to apply changes through CloudFormation. The CLI discovers the app command from cdk.json in the project directory, then falls back to ~/.cdk.json or command-line --app.
Configuration is split across CDK files and AWS shared files. CDK uses cdk.json, ~/.cdk.json, and cdk.context.json for app commands, context, feature flags, and cached lookups; AWS SDK/tooling uses ~/.aws/config and ~/.aws/credentials on Unix-like systems and %USERPROFILE%\.aws\config and %USERPROFILE%\.aws\credentials on Windows.
For package nerds, aws-cdk is a Node-distributed cloud compiler dressed as a system CLI. The installed cdk binary coordinates local language runtimes, npm packages, generated constructs, AWS credentials, and CloudFormation APIs, so version skew can matter.
It is also significant because it normalized packaging infrastructure abstractions as libraries. CDK apps are dependency graphs as much as source trees, and the CLI's job is to turn that graph into deterministic cloud assemblies.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
cdk.json~/.cdk.jsoncdk.context.json~/.aws/config%USERPROFILE%\.aws\configCredential-bearing paths to review before unattended agent runs.
~/.aws/credentials%USERPROFILE%\.aws\credentials可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cdk | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/aws/aws-cdk
安装元数据
| 软件包键 | brew:aws-cdk |
|---|---|
| 版本 | 2.1129.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/aws-cdk |
| 主页 | https://github.com/aws/aws-cdk |
| 仓库 | https://github.com/aws/aws-cdk |
| 上游文档 | https://docs.aws.amazon.com/cdk/v2/guide/cli.html |
| 许可证 | Apache-2.0 |
| 源码归档 | https://registry.npmjs.org/aws-cdk/-/aws-cdk-2.1129.0.tgz |
| 最后更新 | 2026-07-02T16:39:42Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | aws-cdk |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libcdk-java 1:2.11-1
Chemistry Development Kit (CDK) Java libraries
sudo apt install libcdk-javacdk
nix profile install nixpkgs#cdklibcdk-java 1:2.9-1
Chemistry Development Kit (CDK) Java libraries
sudo apt install libcdk-javacdk 5.0.20260119-2.fc45
Curses Development Kit
https://invisible-island.net/cdk/
sudo dnf install cdkcdk-devel 5.0.20260119-2.fc45
Development files for cdk
https://invisible-island.net/cdk/
sudo dnf install cdk-develcdk-doc 5.0.20260119-2.fc45
Documentation and examples for cdk
https://invisible-island.net/cdk/
sudo dnf install cdk-doccdk-devel 5.0.20230201-1.7
Development Part of Curses Development Kit
https://invisible-island.net/cdk/
sudo zypper install cdk-devellibcdk6_3_4 5.0.20230201-1.7
The Runtime for the Curses Development Kit - Shared library
https://invisible-island.net/cdk/
sudo zypper install libcdk6_3_4来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.