SourceControlDetails
The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
Contents
- AuthStrategy
-
The type of authentication, which can be an authentication token stored in AWS Secrets Manager, or a personal access token.
Type: String
Valid Values:
PERSONAL_ACCESS_TOKEN | AWS_SECRETS_MANAGER
Required: No
- AuthToken
-
The value of an authorization token.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Required: No
- Branch
-
An optional branch in the remote repository.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Required: No
- Folder
-
An optional folder in the remote repository.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Required: No
- LastCommitId
-
The last commit ID for a commit in the remote repository.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Required: No
- Owner
-
The owner of the remote repository that contains the job artifacts.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Required: No
- Provider
-
The provider for the remote repository.
Type: String
Valid Values:
GITHUB | GITLAB | BITBUCKET | AWS_CODE_COMMIT
Required: No
- Repository
-
The name of the remote repository that contains the job artifacts.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: