🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more
Socket
Book a DemoInstallSign in
Socket

@aws-cdk/service-spec-types

Package Overview
Dependencies
Maintainers
2
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/service-spec-types

Types for CloudFormation Service Specifications

Source
npmnpm
Version
0.0.166
Version published
Weekly downloads
326K
6.87%
Maintainers
2
Weekly downloads
 
Created
Source

@aws-cdk/service-spec-types

Types and utils for CloudFormation Service Specifications

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;
}

FAQs

Package last updated on 27 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts