aws-cdk-lib.aws_codebuild.GitHubEnterpriseSourceCredentialsProps

interface GitHubEnterpriseSourceCredentialsProps

LanguageType name
.NETAmazon.CDK.AWS.CodeBuild.GitHubEnterpriseSourceCredentialsProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#GitHubEnterpriseSourceCredentialsProps
Javasoftware.amazon.awscdk.services.codebuild.GitHubEnterpriseSourceCredentialsProps
Pythonaws_cdk.aws_codebuild.GitHubEnterpriseSourceCredentialsProps
TypeScript (source)aws-cdk-lib » aws_codebuild » GitHubEnterpriseSourceCredentialsProps

Creation properties for GitHubEnterpriseSourceCredentials.

Example

// 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

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

accessToken

Type: SecretValue

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