The CDK Construct Library for AWS::CodeStar
Project description
AWS::CodeStar Construct Library
---The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.
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_alpha 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aws_cdk_aws_codestar_alpha-2.154.1a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5fbaabea662a1af58e5ba8b43bce5bbe85f6281cd997028e4a3665889606086 |
|
MD5 | 42bb143804c7545a88da3333a382b4d6 |
|
BLAKE2b-256 | 336da3f7a46faf9e0570adea306048205e749969b85864159a65b4fe805a1d3f |
Hashes for aws_cdk.aws_codestar_alpha-2.154.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1dc30c2207c46351bf580c2aa79923f29b9ebb26ceb835e00f46cbbc85a4daf |
|
MD5 | 08a8349fee2377e27968ed661ef57794 |
|
BLAKE2b-256 | 70be4d8808e3d9903481e58246bb6534a7c004fefe7a030547a91b8d6aa7b3fb |