# AWS::CodeStar Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as codestar from 'aws-cdk-lib/aws-codestar';
```

Python:

```python
import aws_cdk.aws_codestar as codestar
```

Java:

```java
import software.amazon.awscdk.services.codestar.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.Codestar;
```

Golang:

```go
import codestar "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for CodeStar construct libraries](https://constructs.dev/search?q=codestar)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::CodeStar resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeStar.html) directly.

> An experimental construct library for this service is available in preview. Since it is not stable yet, it is distributed
> as a separate package so that you can pin its version independently of the rest of the CDK. See the package:
>
> [`@aws-cdk/aws-codestar-alpha`](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-codestar-alpha-readme.html)

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::CodeStar](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_CodeStar.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnGitHubRepository`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codestar.CfnGitHubRepository.html) Construct (L1) The `AWS::CodeStar::GitHubRepository` resource creates a GitHub repository where users can store source code for use with AWS workflows.

### Structs

- [`CfnGitHubRepository.CodeProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codestar.CfnGitHubRepository.CodeProperty.html) Struct The `Code` property type specifies information about code to be committed.
- [`CfnGitHubRepository.S3Property`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codestar.CfnGitHubRepository.S3Property.html) Struct The `S3` property type specifies information about the Amazon S3 bucket that contains the code to be committed to the new repository.
- [`CfnGitHubRepositoryProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codestar.CfnGitHubRepositoryProps.html) Struct Properties for defining a `CfnGitHubRepository`.
