# GitHubSourceCredentialsProps

Creation properties for `GitHubSourceCredentials`.

Extends: GitHubSourceCredentialsProps
Used as props by: GitHubSourceCredentials

- Source: [`aws-codebuild/lib/source-credentials.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-codebuild/lib/source-credentials.ts#L11)

## Example

```ts
new codebuild.GitHubSourceCredentials(this, 'CodeBuildGitHubCreds', {
  accessToken: SecretValue.secretsManager('my-token'),
});
// GitHub Enterprise is almost the same,
// except the class is called GitHubEnterpriseSourceCredentials
```

## Properties

- `accessToken`: [SecretValue](/cdk/api/v2/docs/aws-cdk-lib.SecretValue.html) (required) — The personal access token to use when contacting the GitHub API.
