Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, Nix, apt, zypper 安装 aws-cdk

查看 aws-cdk 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install aws-cdk

local Homebrew formula metadata

Linux

Fedora dnf已验证 · 92%
sudo dnf install cdk

Fedora Rawhide package metadata · cdk · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#cdk

nixpkgs package indexes · pkgs/by-name/cd/cdk/package.nix · 来源: api.github.com

Debian apt已验证 · 92%
sudo apt install libcdk-java

Debian stable package indexes · libcdk-java · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install cdk-devel

openSUSE Tumbleweed package metadata · cdk-devel · 来源: download.opensuse.org

概览

软件包摘要

AWS Cloud Development Kit - framework for defining AWS infra as code

命令和别名

  • cdk

历史

项目历史与用法

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.

时间线

  • 2018: AWS CDK announced in developer preview.
  • 2019: AWS CDK TypeScript and Python reached general availability.
  • 2021: AWS CDK v2 and Construct Hub reached general availability.
  • 2022: AWS CDK v1 entered maintenance on June 1, 2022.
  • 2023: AWS CDK v1 support ended on June 1, 2023.

Related projects

  • AWS CloudFormation is the provisioning engine targeted by CDK synthesis and deployment.
  • Construct Hub is the package discovery surface for reusable CDK constructs.
  • Projen, CDK8s, and CDK for Terraform are neighboring projects in the construct-based infrastructure tooling family.
  • AWS Amplify Gen 2 uses AWS CDK constructs for custom backend resources.

来源

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:cloud

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
cdk.json~/.cdk.jsoncdk.context.json~/.aws/config
Windows
%USERPROFILE%\.aws\config

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.aws/credentials
Windows
%USERPROFILE%\.aws\credentials

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cdkcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.1129.0
管理器更新时间2026-07-02
本地数据OK
上游not checked
检测到的最新版本未检测到

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
Pulseupdated
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameaws-cdk
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt92%

libcdk-java 1:2.11-1

Chemistry Development Kit (CDK) Java libraries

https://cdk.github.io/

sudo apt install libcdk-java
  • Section: java
  • Architecture: all
  • Source Package: cdk
  • 15 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Cdk
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcdk-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

cdk

nix profile install nixpkgs#cdk
  • installed executable or alias match
  • 匹配方式:Cdk
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cd/cdk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

libcdk-java 1:2.9-1

Chemistry Development Kit (CDK) Java libraries

https://cdk.github.io/

sudo apt install libcdk-java
  • Section: universe/libs
  • Architecture: all
  • Source Package: cdk
  • 14 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Cdk
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcdk-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf92%

cdk 5.0.20260119-2.fc45

Curses Development Kit

https://invisible-island.net/cdk/

sudo dnf install cdk
  • License: X11-distribute-modifications-variant
  • Category: Unspecified
  • Architecture: i686
  • Source Package: cdk
  • 2 依赖
  • 2 提供
  • installed executable or alias match
  • 匹配方式:Cdk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cdk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

cdk-devel 5.0.20260119-2.fc45

Development files for cdk

https://invisible-island.net/cdk/

sudo dnf install cdk-devel
  • License: X11-distribute-modifications-variant
  • Category: Unspecified
  • Architecture: i686
  • Source Package: cdk
  • 3 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Cdk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cdk-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

cdk-doc 5.0.20260119-2.fc45

Documentation and examples for cdk

https://invisible-island.net/cdk/

sudo dnf install cdk-doc
  • License: X11-distribute-modifications-variant
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: cdk
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Cdk
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cdk-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper92%

cdk-devel 5.0.20230201-1.7

Development Part of Curses Development Kit

https://invisible-island.net/cdk/

sudo zypper install cdk-devel
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: cdk
  • 3 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Cdk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: cdk-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

libcdk6_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
  • License: BSD-3-Clause
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: cdk
  • 5 依赖
  • 3 提供
  • installed executable or alias match
  • 匹配方式:Cdk
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libcdk6_3_4 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment