@cdklabs/sbt-aws

中文文档
0.9.5发布于 2026/01/13Apache-2.0TypeScriptCommonJS构建来源已验证近 30 天下载 7570

SaaS Builder Toolkit for AWS is a developer toolkit to implement SaaS best practices and increase developer velocity.

原始使用文档
文档目录6 节
  1. Getting Started
  2. Examples
  3. Getting Help
  4. Roadmap
  5. Contributing
  6. More Resources

SaaS Builder Toolkit for AWS

Feedback & Feature request

build status npm version

View on Construct Hub

The SaaS Builder Toolkit for AWS (SBT) is an open-source developer toolkit to implement SaaS best practices and increase developer velocity. SBT should be considered sample code and, as such, you should ensure that proper security concerns such as authorization and other security is implemented per your organziation's standards before you deploy this into production environments.

It offers a high-level object-oriented abstraction to define SaaS resources on AWS imperatively using the power of modern programming languages. Using SBT’s library of infrastructure constructs, you can easily encapsulate SaaS best practices in your SaaS application, and share it without worrying about boilerplate logic.

Currently, SBT is available in the following language:

Third-party Language Deprecation: language version is only supported until its EOL (End Of Life) shared by the vendor or community and is subject to change with prior notice.

Jump To: Developer Guide | API Reference | Getting Started | Examples | Getting Help | Contributing | Roadmap | More Resources


SBT is built on top of the AWS Cloud Development Kit (CDK). It offers a number of higher-order constructs (L2, L2.5 and L3) to short-circuit the time required to build SaaS applications. Specifically, SBT attempts to codify several control plane and application plane concepts into reusable components, promoting reuse and reducing boilerplate code.

Getting Started

For a detailed walkthrough, see the tutorial in the developer guide.

Examples

Interested in seeing SBT used in a comprehensive SaaS reference architecture? Take a look at the following:

Getting Help

The best way to interact with our team is through GitHub. You can open an issue and choose from one of our templates for bug reports, feature requests, documentation issues, or guidance.

You may also find help on these community resources:

Roadmap

The SBT for AWS Roadmap project board lets developers know about our upcoming features and priorities to help them plan how to best leverage the CDK and identify opportunities to contribute to the project.

Contributing

We welcome community contributions and pull requests. See CONTRIBUTING.md for information on how to set up a development environment and submit code.

More Resources

版本与发布记录

@cdklabs/sbt-aws 共发布 101 个版本,首次发布于 2024/02/23;过去 12 个月发布了 2 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.9.5latest2026/01/139 个月前
0.9.42025/12/0511 个月前
0.9.32025/10/011.1 年前
0.9.22025/09/191.1 年前
0.9.12025/07/031.4 年前
0.9.02025/06/281.4 年前

关于 @cdklabs/sbt-aws 的常见问题

@cdklabs/sbt-aws 是什么?

SaaS Builder Toolkit for AWS is a developer toolkit to implement SaaS best practices and increase developer velocity.

如何安装 @cdklabs/sbt-aws?

在项目目录运行 npm install @cdklabs/sbt-aws,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:aws-cdk-lib(^2.195.0)、constructs(^10.4.2)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@cdklabs/sbt-aws 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@cdklabs/sbt-aws 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@cdklabs/sbt-aws 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >= 20.x <= 24.x。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@cdklabs/sbt-aws 可以商用吗?

@cdklabs/sbt-aws 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@cdklabs/sbt-aws 的下载量有多少?

根据 npm 官方下载统计,@cdklabs/sbt-aws 在 2026/10/10 – 2026/11/08 这 30 天内被下载 7,570 次,日均约 252 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cdklabs/sbt-aws 还在维护吗?

最新版本 0.9.5 发布于 2026/01/13(9 个月前);至今共发布 101 个版本,其中过去 12 个月发布了 2 个;首次发布于 2024/02/23。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。