AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

GitHubEnterpriseSourceCredentials

The source credentials used when contacting the GitHub Enterprise API. **Note**: CodeBuild only allows a single credential for GitHub Enterprise to be saved in a given AWS account in a given region - any attempt to add more than one will result in an error.

Import

import { GitHubEnterpriseSourceCredentials } from 'aws-cdk-lib/aws-codebuild';

Or use the module namespace:

import * as codebuild from 'aws-cdk-lib/aws-codebuild';
// codebuild.GitHubEnterpriseSourceCredentials

Properties

Configuration passed to the constructor as GitHubEnterpriseSourceCredentialsProps.

accessTokenRequired
SecretValue

The personal access token to use when contacting the instance of the GitHub Enterprise API.

Get the AWS CodeBuild Cheat Sheet

Everything you need to know about AWS CodeBuild on one page. HD quality, print-friendly.

Download Free Infographic