Socket
Book a DemoInstallSign in
Socket

deployable-awscdk-app-ts

Package Overview
Dependencies
Maintainers
1
Versions
1041
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deployable-awscdk-app-ts

A projen project for Typescript AWS CDK App

Source
npmnpm
Version
0.1.206
Version published
Weekly downloads
726
25.82%
Maintainers
1
Weekly downloads
 
Created
Source

Deployable Typescript AWS CDK App Projen Project

Inspired by projen This is a projen project for typescript AWS CDK Applications deployed via github actions.

Getting started

To create a new project, run the following command and follow the instructions:

Typescript

$ mkdir my-project
$ cd my-project
$ git init
$ npx projen new --from deployable-awscdk-app-ts --projenrc-ts
🤖 Synthesizing project...
...

This will initialize a projen project and will create .projenrc.ts file for capturing the project details and options. Below is an example of the contents in this file

Javascript

$ mkdir my-project
$ cd my-project
$ git init
$ npx projen new --from deployable-awscdk-app-ts
🤖 Synthesizing project...
...

This will initialize a projen project and will create .projenrc.js file for capturing the project details and options. Below is an example of the contents in this file

Example

const { DeployableAwsCdkTypeScriptApp } = require('deployable-awscdk-app-ts');

const project = new DeployableAwsCdkTypeScriptApp({
  name: 'my-test-app',
  defaultReleaseBranch: 'main',
  cdkVersion: '1.129.0',
  workflowNodeVersion: '14.18.1',
  deployOptions: {
    environments: [
      {
        name: 'dev',
        awsCredentials: {
          accessKeyIdSecretName: 'dev-secret-1',
          secretAccessKeySecretName: 'dev-secret-2',
          region: 'dev-aws-region-1',
        },
      },
      {
        name: 'staging',
        awsCredentials: {
          accessKeyIdSecretName: 'staging-secret-1',
          secretAccessKeySecretName: 'staging-secret-2',
          region: 'staging-aws-region-1',
        },
      },
    ]
  }
});

project.synth()

Keywords

AWS CDK

FAQs

Package last updated on 28 Aug 2023

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