Socket
Book a DemoInstallSign in
Socket

cdktf-github-constructs

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdktf-github-constructs

Provide simple Level 2 Constructs for the [Github Provider](https://cdk.tf/provider/github) for [Terraform CDK](https://cdk.tf).

Source
npmnpm
Version
0.0.4
Version published
Weekly downloads
2
-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

Terraform CDK - Level 2 Constructs for Github Provider

Provide simple Level 2 Constructs for the Github Provider for Terraform CDK.

Install

Just the constructs

npm install cdktf-github-constructs

Or with all peer dependencies

npm install cdktf constructs @cdktf/provider-github cdktf-github-constructs

Example

import { Construct } from 'constructs';
import { Resource } from 'cdktf';
import { Repository, RepositoryConfig } from 'cdktf-github-constructs';

export class MyRepos extends Resource {
  constructor(scope: Construct, name: string) {
    const myTeam = new Team(this, 'my-team'),

    const website = new Repository(this, 'website', {
      description: 'Our awesome website',
      topics: ['our', 'awesome', 'website']
    })

    website.addTeam(myTeam, Repository.Permissions.PUSH)
  }
}

Docs

See API Docs

FAQs

Package last updated on 20 Aug 2020

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