# AWS::CodeStar Construct Library
<!--BEGIN STABILITY BANNER-->---
![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)
> 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](https://semver.org/) 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.
---
<!--END STABILITY BANNER-->
## GitHub Repository
To create a new GitHub Repository and commit the assets from S3 bucket into the repository after it is created:
```python
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", "amzn-s3-demo-bucket"),
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/aws/aws-cdk",
"name": "aws-cdk.aws-codestar-alpha",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Amazon Web Services",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/65/fb/727cc51c58b5edcb70a2d59e5713a8a8a24a0e71580186ca84d18850427a/aws_cdk_aws_codestar_alpha-2.170.0a0.tar.gz",
"platform": null,
"description": "# AWS::CodeStar Construct Library\n\n<!--BEGIN STABILITY BANNER-->---\n\n\n![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n<!--END STABILITY BANNER-->\n\n## GitHub Repository\n\nTo create a new GitHub Repository and commit the assets from S3 bucket into the repository after it is created:\n\n```python\nimport aws_cdk.aws_codestar_alpha as codestar\nimport aws_cdk.aws_s3 as s3\n\n\ncodestar.GitHubRepository(self, \"GitHubRepo\",\n owner=\"aws\",\n repository_name=\"aws-cdk\",\n access_token=SecretValue.secrets_manager(\"my-github-token\",\n json_field=\"token\"\n ),\n contents_bucket=s3.Bucket.from_bucket_name(self, \"Bucket\", \"amzn-s3-demo-bucket\"),\n contents_key=\"import.zip\"\n)\n```\n\n## Update or Delete the GitHubRepository\n\nAt 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.\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "The CDK Construct Library for AWS::CodeStar",
"version": "2.170.0a0",
"project_urls": {
"Homepage": "https://github.com/aws/aws-cdk",
"Source": "https://github.com/aws/aws-cdk.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2f78c737e753bb30e7a69a010d3268b7511481f031257d462f5f32c3ff8a213f",
"md5": "3860ed0749c6dea0847968307812d043",
"sha256": "9b14b72d911b3754dcc24dc0252bf80155b16377b6bb9835292181b732b97a6d"
},
"downloads": -1,
"filename": "aws_cdk.aws_codestar_alpha-2.170.0a0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3860ed0749c6dea0847968307812d043",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.8",
"size": 35845,
"upload_time": "2024-11-22T04:41:26",
"upload_time_iso_8601": "2024-11-22T04:41:26.479931Z",
"url": "https://files.pythonhosted.org/packages/2f/78/c737e753bb30e7a69a010d3268b7511481f031257d462f5f32c3ff8a213f/aws_cdk.aws_codestar_alpha-2.170.0a0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "65fb727cc51c58b5edcb70a2d59e5713a8a8a24a0e71580186ca84d18850427a",
"md5": "9b8903178084c0e304967b62323ad2c5",
"sha256": "acdf568d837524817613e48a6f833e61a031f78ca3b322e04a89f1ced42ddd37"
},
"downloads": -1,
"filename": "aws_cdk_aws_codestar_alpha-2.170.0a0.tar.gz",
"has_sig": false,
"md5_digest": "9b8903178084c0e304967b62323ad2c5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.8",
"size": 36600,
"upload_time": "2024-11-22T04:42:16",
"upload_time_iso_8601": "2024-11-22T04:42:16.964222Z",
"url": "https://files.pythonhosted.org/packages/65/fb/727cc51c58b5edcb70a2d59e5713a8a8a24a0e71580186ca84d18850427a/aws_cdk_aws_codestar_alpha-2.170.0a0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-22 04:42:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "aws",
"github_project": "aws-cdk",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "aws-cdk.aws-codestar-alpha"
}