0.0.5 • Published 4 years ago
@fmtk/cfnutil v0.0.5
@fmtk/cfnspec
CloudFormation Resource Specification.
Get latest spec
import { getLatestSpec } from '@fmtk/cfnspec';
// get the latest spec from us-east-1 by default
const spec = await getLatestSpec();
// see interface types for shape
## Normalise spec
Get a list of type definitions for the specification in a more digestible format.
import { getLatestSpec, normaliseSpec } from '@fmtk/cfnspec';
// get the latest spec from us-east-1 by default
const spec = normaliseSpec(await getLatestSpec());
// see interface types for shape