@stratusgrid/cdk-parallel
v2.0.4
Published
[![NPM version](https://img.shields.io/npm/v/@stratusgrid/cdk-parallel?style=flat-square)](https://www.npmjs.com/package/@stratusgrid/cdk-parallel) [![Youtube channel views](https://img.shields.io/youtube/channel/views/UCQtFai6GXG5YSXpl1geP5LQ?style=socia
Downloads
4
Keywords
Readme
CDK Parallel for Typescript/Javascript
A Javascript based library that enables AWS CDK to deploy stacks in parallel.
Table of Contents
Getting Started
In Node.js
The preferred way to install the StratusGrid CDK Parallelization library for Node.js is to use the npm package manager for Node.js. Simply type the following into a terminal window:
npm install @stratusgrid/cdk-parallel
Usage
In Typescript
It is suggested you create a typescript file in the root of your CDK app. Then you can run the file with this code:
import {DeploymentExecutor, DeploymentType} from '@stratusgrid/cdk-parallel';
(async function () {
const executor = new DeploymentExecutor(DeploymentType.DEPLOY, __dirname, {
PATH: process.env.PATH
});
await executor.run();
}());