> **Experimental**
>
> `@aws-cdk/aws-apprunner-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# GithubRepositoryProps

Properties of the Github repository for `Source.fromGitHub()`.

Extends: GithubRepositoryProps
Used as props by: GithubSource

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/service.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-apprunner-alpha/lib/service.ts#L299)

## Example

```ts
new apprunner.Service(this, 'Service', {
  source: apprunner.Source.fromGitHub({
    repositoryUrl: 'https://github.com/aws-containers/hello-app-runner',
    branch: 'main',
    configurationSource: apprunner.ConfigurationSourceType.REPOSITORY,
    connection: apprunner.GitHubConnection.fromConnectionArn('CONNECTION_ARN'),
  }),
});
```

## Properties

- `branch`: string = main — The branch name that represents a specific version for the repository.

- `codeConfigurationValues`: [CodeConfigurationValues](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.CodeConfigurationValues.html) — The code configuration values.

  **Default:** no values will be passed. The `apprunner.yaml` from the github reopsitory will be used instead.

  Will be ignored if configurationSource is `REPOSITORY`.

- `configurationSource`: [ConfigurationSourceType](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.ConfigurationSourceType.html) (required) — The source of the App Runner configuration.

- `connection`: [GitHubConnection](/cdk/api/v2/docs/@aws-cdk_aws-apprunner-alpha.GitHubConnection.html) (required) — ARN of the connection to Github.

  Only required for Github source.

- `repositoryUrl`: string (required) — The location of the repository that contains the source code.
