New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cdk-libs

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdk-libs

**Requirements** Name|Link/Command to install ----|----------- [aws cdk]()|*https://docs.aws.amazon.com/pt_br/cdk/latest/guide/cli.html* [docker]()|*https://docs.docker.com/engine/install/ubuntu/* [nodeJs]()|*https://nodejs.org/en/download/* [npm]()|*http

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

API Reference

Requirements

NameLink/Command to install
aws cdkhttps://docs.aws.amazon.com/pt_br/cdk/latest/guide/cli.html
dockerhttps://docs.docker.com/engine/install/ubuntu/
nodeJshttps://nodejs.org/en/download/
npmhttps://www.npmjs.com/get-npm
projenhttps://www.npmjs.com/package/projen
yarnhttps://classic.yarnpkg.com/en/docs/install/#windows-stable

Classes

NameDescription
PipelineDefine a new pipeline based in pipeline props, by default execute a synth base step, with command standardNpmSynth, this library has integration with code commit and github, which means your source must be in a repository in code commit or github.
LambdaPowerToolsFunctionDefine a new lambda function based in props provided by your app, this resourse create a structure with canary deploy and a alarm to watch the bahavior of lambda function.


How to usi it ?

Clone this repository from: https://github.com/druid-rio/druid-cdk-construct
Execute the command yarn install , to install the project dependecies, after that execute the command projen to verify if your project it's ok. If you see any error try to check if you have all the dependencies installed.


class Pipeline

This resource is responsable to create and manipulate the stages of your application, the code bellow, represente one way to use this resource in your app.

Properties

NameDescriptionRequired
BuildCommandA command to build your code, by defaul execute npm run build.no
DevStageAppIt represents a dev stage to construct your app.no
RepositoryIt is a construct repository.no
RepositoryNameThe name of repository, when this lib is reponsable by create a new repository.no

Initializer

new Pipeline(this, "pipeline", {
            repository: repository,
            buildCommand: 'make cdk-pr',
            qaStage: qaStage
        });

Methods

getProps()

getProps(): as PipelineProps

Returns:

  • {
      repository: code_commit.Repository;
      buildCommand: string;
      repositoryName: string;
      devStageApp: Stage;
    } \

Keywords

cdk

FAQs

Package last updated on 19 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts