GitHubSourceCredentialsProps

class aws_cdk.aws_codebuild.GitHubSourceCredentialsProps(*, access_token)

Bases: object

Creation properties for {@link GitHubSourceCredentials}.

Parameters

access_token (SecretValue) – The personal access token to use when contacting the GitHub API.

Example:

codebuild.GitHubSourceCredentials(self, "CodeBuildGitHubCreds",
    access_token=SecretValue.secrets_manager("my-token")
)

Attributes

access_token

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

Return type

SecretValue