# AWS::CodeStar Construct Library
<!--BEGIN STABILITY BANNER-->---
![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)
> All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.
![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 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.
Raw data
{
"_id": null,
"home_page": "https://github.com/aws/aws-cdk",
"name": "aws-cdk.aws-codestar",
"maintainer": "",
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Amazon Web Services",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/a3/8e/5cf4b63aca098bb81518e51f9e99e8a885c7c014f1fc2c08b0e213d40465/aws-cdk.aws-codestar-1.203.0.tar.gz",
"platform": null,
"description": "# AWS::CodeStar Construct Library\n\n<!--BEGIN STABILITY BANNER-->---\n\n\n![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)\n\n> All classes with the `Cfn` prefix in this module ([CFN Resources](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) are always stable and safe to use.\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 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\", \"bucket-name\"),\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\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "The CDK Construct Library for AWS::CodeStar",
"version": "1.203.0",
"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": "87917c48c694ca737fbb57e669d3749088a552a29485477a6d9b03bd71c234b0",
"md5": "771109deb18702069b35e2919c9138c9",
"sha256": "ab7ee41b49eb2cc37a41745295374a71397407cdede93646fb46a146c59fe9a5"
},
"downloads": -1,
"filename": "aws_cdk.aws_codestar-1.203.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "771109deb18702069b35e2919c9138c9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 48848,
"upload_time": "2023-05-31T22:53:46",
"upload_time_iso_8601": "2023-05-31T22:53:46.890202Z",
"url": "https://files.pythonhosted.org/packages/87/91/7c48c694ca737fbb57e669d3749088a552a29485477a6d9b03bd71c234b0/aws_cdk.aws_codestar-1.203.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a38e5cf4b63aca098bb81518e51f9e99e8a885c7c014f1fc2c08b0e213d40465",
"md5": "1cf7609ac09ecc07c9a2c57f3f705875",
"sha256": "6e0bf6717b311b024412b08188d633e60d6c73c466a78ff55f6dc2b34ad111d0"
},
"downloads": -1,
"filename": "aws-cdk.aws-codestar-1.203.0.tar.gz",
"has_sig": false,
"md5_digest": "1cf7609ac09ecc07c9a2c57f3f705875",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 50061,
"upload_time": "2023-05-31T23:01:30",
"upload_time_iso_8601": "2023-05-31T23:01:30.542366Z",
"url": "https://files.pythonhosted.org/packages/a3/8e/5cf4b63aca098bb81518e51f9e99e8a885c7c014f1fc2c08b0e213d40465/aws-cdk.aws-codestar-1.203.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-31 23:01:30",
"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"
}