AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Information about the credentials for a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.
Namespace: Amazon.CodeBuild.Model
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z
public class SourceCredentialsInfo
The SourceCredentialsInfo type exposes the following members
Name | Description | |
---|---|---|
SourceCredentialsInfo() |
Name | Type | Description | |
---|---|---|---|
Arn | System.String |
Gets and sets the property Arn. The Amazon Resource Name (ARN) of the token. |
|
AuthType | Amazon.CodeBuild.AuthType |
Gets and sets the property AuthType. The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS. |
|
Resource | System.String |
Gets and sets the property Resource. The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS. |
|
ServerType | Amazon.CodeBuild.ServerType |
Gets and sets the property ServerType. The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5