interface GitHubSourceCredentialsProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.GitHubSourceCredentialsProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#GitHubSourceCredentialsProps |
Java | software.amazon.awscdk.services.codebuild.GitHubSourceCredentialsProps |
Python | aws_cdk.aws_codebuild.GitHubSourceCredentialsProps |
TypeScript (source) | aws-cdk-lib » aws_codebuild » GitHubSourceCredentialsProps |
Creation properties for GitHubSourceCredentials
.
Example
new codebuild.GitHubSourceCredentials(this, 'CodeBuildGitHubCreds', {
accessToken: SecretValue.secretsManager('my-token'),
});
// GitHub Enterprise is almost the same,
// except the class is called GitHubEnterpriseSourceCredentials
Properties
Name | Type | Description |
---|---|---|
access | Secret | The personal access token to use when contacting the GitHub API. |
accessToken
Type:
Secret
The personal access token to use when contacting the GitHub API.