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.

ExampleMetadata:

infused

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.