Official documentation: zar-cdk-lib.production.zarhq.dev
This library is build & published as NPM module in GitHub packages (Python and others coming later).
To install this library in TypeScript CDK projects:
.npmrc file in the project directory with following content:@zarpay:registry=https://npm.pkg.github.com/
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
npm install @zarpay/zar-cdk-lib
To use the library constructs in a CDK project (example):
import {ApplicationLoadBalancedFargateService} from "@zarpay/zar-cdk-lib";
new ZarCdkLib(this, 'ZarCdkLib', {
...
})
npm run build compile typescript to jsnpm run watch watch for changes and compilenpm run test perform the jest unit testsThis CDK library repo is maintained by DevOps team, but we would like to encourage the dev community to contribute to it. Please see the Contributing Guide for details, including suggestions how to setup the development environment.