Skip to main content

cdk-github-import

Import local file assets into a new GitHub repository

Usage

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from cdk_github_import import Deployment

# create a new github repository pahud/new-repo and import all files from ./lib to it
Deployment(stack, "NewImport",
    path="./lib",
    owner="pahud",
    repository_name="new-repo",
    access_token=cdk.SecretValue.secrets_manager("my-github-token",
        json_field="token"
    )
)

Private repository

Set visibility to PRIVATE to create a private GitHub repository.

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
visibility: RepositoryVisibility.PRIVATE,

Metadata

Release files for cdk-github-import 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdk-github-import 1.0.0
File Size Uploaded
cdk-github-import-1.0.0.tar.gz 15.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cdk-github-import 1.0.0
File Interpreter ABI Platform
cdk_github_import-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.6 kB

Release files / cdk-github-import-1.0.0.tar.gz

Download URL cdk-github-import-1.0.0.tar.gz
Size 15.6 kB
Tags Source
SHA-256 checksum
How to use checksums
21c1b6479b96e023652bd24b7ddbd2cc54b78e0eb870f4b63ed104237e7d44dd
BLAKE2b-256 checksum
How to use checksums
18819917e567f726c94de9394ed655b5d3d41cdcfef8b6e831bd5d8622f33497
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

Release files / cdk_github_import-1.0.0-py3-none-any.whl

Download URL cdk_github_import-1.0.0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b93ccbad405a133d44e6302bd155147f0cc4ff6bc6c6638d862b6018ac1f24d
BLAKE2b-256 checksum
How to use checksums
8e29da4f51e325ad65dec852a9e80c66f85e6881b99f8bd77856815792de5ab3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page