# @aws-cdk/service-spec-types

> Types for CloudFormation Service Specifications

Latest version **0.0.299** (published 2026-11-17) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @aws-cdk/service-spec-types
pnpm add @aws-cdk/service-spec-types
yarn add @aws-cdk/service-spec-types
bun add @aws-cdk/service-spec-types
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.0.299 |
| Published | 2026-11-17 |
| First published | 2023-06-29 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 128 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 43 |
| Maintainers | amzn-oss, aws-cdk-team |

## Links

- npm: https://www.npmjs.com/package/@aws-cdk/service-spec-types
- Repository: https://github.com/cdklabs/awscdk-service-spec
- Homepage: https://github.com/cdklabs/awscdk-service-spec#readme
- Issues: https://github.com/cdklabs/awscdk-service-spec/issues
- npm.io page: https://npm.io/package/@aws-cdk/service-spec-types

## Dependencies (1)

- [@cdklabs/tskb](https://npm.io/package/@cdklabs/tskb.md) ^0.0.4

## Recent versions

- 0.0.299 (latest) — 2026-11-17
- 0.0.298 — 2026-11-14
- 0.0.297 — 2026-11-12
- 0.0.296 — 2026-11-11
- 0.0.295 — 2026-11-07
- 0.0.294 — 2026-11-04
- 0.0.293 — 2026-11-02
- 0.0.292 — 2026-10-31
- 0.0.291 — 2026-10-28
- 0.0.290 — 2026-10-24
- 0.0.289 — 2026-10-21
- 0.0.288 — 2026-10-17
- 0.0.287 — 2026-10-14
- 0.0.286 — 2026-10-10
- 0.0.285 — 2026-10-07
- … 283 more at https://npm.io/package/@aws-cdk/service-spec-types/versions

## README

# @aws-cdk/service-spec-types

Types and utils for CloudFormation Service Specifications.

```ts
import { emptyDatabase, SpecDatabase } from '@aws-cdk/service-spec-types';
import * as fs from 'node:fs';
import * as zlib from 'node:zlib';

export function loadAwsServiceSpec(): SpecDatabase {
 const specDatabase = fs.readFileSync('db.json.gz'));
 const db = emptyDatabase();
 db.load(JSON.parse(zlib.gunzipSync(specDatabase).toString('utf-8')));
 return db;
}
```

---
_Source: https://npm.io/package/@aws-cdk/service-spec-types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
