GitHubEnterpriseSourceCredentialsProps

class aws_cdk.aws_codebuild.GitHubEnterpriseSourceCredentialsProps(*, access_token)

Bases: object

Creation properties for 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 as cdk
from aws_cdk import aws_codebuild as codebuild

# 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.