GitHubEnterpriseSourceCredentialsProps

class aws_cdk.aws_codebuild.GitHubEnterpriseSourceCredentialsProps(*, access_token)

Bases: object

Creation properties for {@link GitHubEnterpriseSourceCredentials}.

Parameters:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_codebuild as codebuild
import aws_cdk.core as cdk

# secret_value: cdk.SecretValue

git_hub_enterprise_source_credentials_props = codebuild.GitHubEnterpriseSourceCredentialsProps(
    access_token=secret_value
)

Attributes

access_token

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