Skip to content

SourceCredentialsInfo

Source code in docs_src/capo_codebuild/types/source_credentials_info.py
class SourceCredentialsInfo(TypedDict, closed=True):
    arn: NotRequired["capo_codebuild.types.non_empty_string.NonEmptyString"]
    """<p> The Amazon Resource Name (ARN) of the token. </p>"""
    server_type: NotRequired["capo_codebuild.types.server_type.ServerType"]
    """<p> The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET. </p>"""
    auth_type: NotRequired["capo_codebuild.types.auth_type.AuthType"]
    """<p> The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER. </p>"""
    resource: NotRequired["capo_codebuild.types.string.String"]
    """<p>The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.</p>"""

arn instance-attribute

arn: NotRequired[NonEmptyString]

The Amazon Resource Name (ARN) of the token.

auth_type instance-attribute

auth_type: NotRequired[AuthType]

The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER.

resource instance-attribute

resource: NotRequired[String]

The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.

server_type instance-attribute

server_type: NotRequired[ServerType]

The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.