AWS::CodeStar Construct Library
---AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2.
For more information on how to migrate, see the Migrating to AWS CDK v2 guide.
GitHub Repository
To create a new GitHub Repository and commit the assets from S3 bucket into the repository after it is created:
import aws_cdk.aws_codestar as codestar
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", "bucket-name"),
contents_key="import.zip"
)
Update or Delete the GitHubRepository
At this moment, updates to the GitHubRepository are not supported and the repository will not be deleted upon the deletion of the CloudFormation stack. You will need to update or delete the GitHub repository manually.
Metadata
Release files for aws-cdk.aws-codestar 1.204.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aws-cdk.aws-codestar-1.204.0.tar.gz | 49.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aws_cdk.aws_codestar-1.204.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 97.3 kB
Release files / aws-cdk.aws-codestar-1.204.0.tar.gz
| Download URL | aws-cdk.aws-codestar-1.204.0.tar.gz |
|---|---|
| Size | 49.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39118caaa173364f4aebd9338aeec3c5d8b69c07169126fad511bce6a3d44c83
|
|
BLAKE2b-256 checksum How to use checksums |
195120621e3cd0fa0b7df267fbcbacb837c34b35bf9a71f50dc1356b9bd66f2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / aws_cdk.aws_codestar-1.204.0-py3-none-any.whl
| Download URL | aws_cdk.aws_codestar-1.204.0-py3-none-any.whl |
|---|---|
| Size | 48.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af1127fb004df75cb2aa2aa2edc64be9c7e88a5e4de0885511c77fbb53dfb9f8
|
|
BLAKE2b-256 checksum How to use checksums |
cb80e8b3975f9504ad3ecc8455f646dc71051c49a1c47a5f6b735d17b3e33fa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|