Skip to content
v2.274.0

GitHubSourceCredentialsProps Struct ​

Creation properties for GitHubSourceCredentials.

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 ​

accessTokenSecretValueaccess_tokenSecretValueaccessTokenSecretValueAccessTokenSecretValueAccessTokenSecretValuerequired#
The personal access token to use when contacting the GitHub API.