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.
Container for the parameters to the ImportSourceCredentials operation. Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository.
Namespace: Amazon.CodeBuild.Model
Assembly: AWSSDK.CodeBuild.dll
Version: 3.x.y.z
public class ImportSourceCredentialsRequest : AmazonCodeBuildRequest IAmazonWebServiceRequest
The ImportSourceCredentialsRequest type exposes the following members
Name | Description | |
---|---|---|
ImportSourceCredentialsRequest() |
Name | Type | Description | |
---|---|---|---|
AuthType | Amazon.CodeBuild.AuthType |
Gets and sets the property AuthType. The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. |
|
ServerType | Amazon.CodeBuild.ServerType |
Gets and sets the property ServerType. The source provider used for this project. |
|
ShouldOverwrite | System.Boolean |
Gets and sets the property ShouldOverwrite.
Set to |
|
Token | System.String |
Gets and sets the property Token. For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. |
|
Username | System.String |
Gets and sets the property Username.
The Bitbucket username when the |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5