ImportSourceCredentialsInput
¶
Source code in docs_src/capo_codebuild/types/import_source_credentials_input.py
auth_type
instance-attribute
¶
auth_type: AuthType
The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.
should_overwrite
instance-attribute
¶
should_overwrite: NotRequired[WrapperBoolean]
Set to false to prevent overwriting the repository source credentials. Set to true to overwrite the repository source credentials. The default value is true.
token
instance-attribute
¶
token: SensitiveNonEmptyString
For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the authType CODECONNECTIONS, this is the connectionArn. For the authType SECRETS_MANAGER, this is the secretArn.
username
instance-attribute
¶
username: NotRequired[NonEmptyString]
The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.