Skip to content
v2.274.0

GitHubEnterpriseSourceCredentialsProps Struct ​

Creation properties for GitHubEnterpriseSourceCredentials.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
import { aws_codebuild as codebuild } from 'aws-cdk-lib';

declare const secretValue: cdk.SecretValue;
const gitHubEnterpriseSourceCredentialsProps: codebuild.GitHubEnterpriseSourceCredentialsProps = {
  accessToken: secretValue,
};

Properties ​

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