0.7.237 • Published 2 years ago

@cloud-technology/aws-credential v0.7.237

Weekly downloads
-
License
BSD-2-Clause
Repository
-
Last release
2 years ago

@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();