@cloud-technology/cfn-client
v0.8.9
Published
AWS Cloudformation Provider, Utility Interface
Downloads
20
Readme
@cloud-technology/cfn-client
AWS CloudFormation Client
Local Development
The following command will spin up a child-process + event listener; any update to applicable file(s) will automatically recompile and execute.
npm run development
Unit-Testing
In order to successfully, locally unit-test (as a simple and quick proof-of-concept):
/// index.ts
( async () => await import("./src/index.js").then(async ($) => {
const service = new $.Service();
const stacks = await service.stacks();
console.log(stacks);
}) )();
Usage
/// Get Stack(s)
import { Service } from "@cloud-technology/cfn-client";
const service = new Service();
await service.stacks();