skillfed

aws-cdk.aws-codestar-alpha

The CDK Construct Library for AWS::CodeStar

aws-cdk-aws-codestar-alpha v2.265.0a0 321.0K downloads/30d#7,626 on PyPI12,868
Permissive license Apache-2.0 Active released

What it is and what it does

This package provides AWS CDK constructs for CodeStar, a higher-level abstraction layer for defining AWS CodeStar resources in Python. It wraps the underlying CloudFormation APIs and integrates with aws-cdk-lib, constructs, jsii, and publication to deliver a typed, composable interface for infrastructure as code.

The primary use case demonstrated is creating GitHub repositories programmatically and seeding them with content from S3 buckets. The module is explicitly marked as experimental—its APIs are under active development and subject to breaking changes without semantic versioning guarantees, so upgrades may require code changes. It targets developers using AWS CDK to manage cloud infrastructure in Python 3.10+.

Use it for:

  • Provision GitHub repositories as part of an AWS CDK stack with automated content seeding from S3.
  • Integrate GitHub repository creation into CI/CD pipelines that use AWS CDK for infrastructure management.
  • Manage CodeStar-backed development environments programmatically alongside other AWS resources.
  • Automate repository setup with pre-populated code or configuration files stored in S3.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides AWS CDK constructs for AWS CodeStar resources, enabling programmatic creation and management of GitHub repositories integrated with AWS services.

Yes, if you are already using AWS CDK for infrastructure as code and need to provision GitHub repositories. Be aware that this module is experimental—breaking changes may occur in minor version updates, so pin your version and review release notes before upgrading. No known security vulnerabilities as of 2026-08-14.

Install

aws-cdk-aws-codestar-alpha on PyPI

pip

pip install aws-cdk-aws-codestar-alpha

uv

uv add aws-cdk-aws-codestar-alpha

poetry

poetry add aws-cdk-aws-codestar-alpha

Installing aws-cdk.aws-codestar-alpha

Before you install

Low install friction with four stable runtime dependencies. Active maintenance with a release from 2026-08-13, though the module itself is marked experimental and subject to breaking changes.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for AWS CDK libraries.

Quickstart

pip install aws-cdk-aws-codestar-alpha

import aws_cdk.aws_codestar_alpha as codestar
from aws_cdk import SecretValue
import aws_cdk.aws_s3 as s3

codestar.GitHubRepository(self, "GitHubRepo",
    owner="aws",
    repository_name="aws-cdk",
    access_token=SecretValue.secrets_manager("my-github-token", json_field="token"),
    contents_bucket=s3.Bucket.from_bucket_name(self, "Bucket", "amzn-s3-demo-bucket"),
    contents_key="import.zip"
)

Requires Python 3.10 or later and an existing AWS CDK stack context (self parameter).

Verify before relying

  • Whether GitHubRepository updates are supported in newer versions beyond the documented limitation.
  • CloudFormation stack deletion behavior for GitHubRepository resources in current releases.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — aws-cdk-lib, constructs, jsii, publication
Maintenance actively maintained — 1 days since the last release
Last repo commit
First released
Downloads 321,037/month — #7,626 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aws_cdk_aws_codestar_alpha-2.265.0a0-py3-none-any.whl

Development Status :: 4 - BetaFramework :: AWS CDKFramework :: AWS CDK :: 2Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Tags

aws cdk codestargithub repository aws cdkcodestar construct libraryaws infrastructure as code githubcdk github integration
aws-cdkinfrastructure-as-codegithub-integration

More Build Tools packages

packaging

Provides reusable utilities for Python…

permissive · top 100 on PyPI

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

pip

pip is the standard installer for Python…

permissive · top 100 on PyPI

hatchling

Hatchling is a standards-compliant Python build…

permissive · top 100 on PyPI

grpcio-tools

Generates Python gRPC service stubs and message…

permissive · top 1,000 on PyPI

pre-commit

pre-commit is a framework for installing and…

permissive · top 1,000 on PyPI

aws-cdk.aws-amplify-alpha

Defines AWS Amplify hosting infrastructure as…

permissive · top 15,000 on PyPI

aws-cdk.aws-codecommit

Provides AWS CDK constructs for creating and…

permissive · top 15,000 on PyPI

aws-cdk.integ-tests-alpha

Provides constructs and utilities for writing…

permissive · top 15,000 on PyPI

aws-cdk.aws-codebuild

Defines AWS CodeBuild projects and build…

permissive · top 15,000 on PyPI

aws-cdk.aws-imagebuilder

Provides AWS CDK L1 constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-codeguruprofiler

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-location-alpha

Provides AWS CDK constructs for building…

permissive · top 15,000 on PyPI

aws-cdk.aws-s3tables-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-s3

Defines AWS S3 buckets and related resources as…

permissive · top 15,000 on PyPI

aws-cdk.aws-lambda-python-alpha

Provides AWS CDK constructs for defining,…

permissive · top 5,000 on PyPI