0.8.19 • Published 2 years ago

@cloud-technology/lambda-client v0.8.19

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

@cloud-technology/lambda-client

AWS Lambda 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 functions = await service.functions();

    console.log(functions);
}) )();

Usage

/// Get Stack(s)  

import { Service } from "@cloud-technology/cfn-client";

const service = new Service();
await service.stacks();