@@ -16,8 +16,10 @@ final class ProjectSource
16
16
* - `BITBUCKET`: The source code is in a Bitbucket repository.
17
17
* - `CODECOMMIT`: The source code is in an CodeCommit repository.
18
18
* - `CODEPIPELINE`: The source code settings are specified in the source action of a pipeline in CodePipeline.
19
- * - `GITHUB`: The source code is in a GitHub or GitHub Enterprise Cloud repository.
19
+ * - `GITHUB`: The source code is in a GitHub repository.
20
20
* - `GITHUB_ENTERPRISE`: The source code is in a GitHub Enterprise Server repository.
21
+ * - `GITLAB`: The source code is in a GitLab repository.
22
+ * - `GITLAB_SELF_MANAGED`: The source code is in a self-managed GitLab repository.
21
23
* - `NO_SOURCE`: The project does not have input source code.
22
24
* - `S3`: The source code is in an Amazon S3 bucket.
23
25
*
@@ -48,6 +50,14 @@ final class ProjectSource
48
50
* want to allow CodeBuild to have access to, and then choose **Authorize application**. (After you have connected to
49
51
* your GitHub account, you do not need to finish creating the build project. You can leave the CodeBuild console.) To
50
52
* instruct CodeBuild to use this connection, in the `source` object, set the `auth` object's `type` value to `OAUTH`.
53
+ * - For source code in an GitLab or self-managed GitLab repository, the HTTPS clone URL to the repository that contains
54
+ * the source and the buildspec file. You must connect your Amazon Web Services account to your GitLab account. Use
55
+ * the CodeBuild console to start creating a build project. When you use the console to connect (or reconnect) with
56
+ * GitLab, on the Connections **Authorize application** page, choose **Authorize**. Then on the CodeStar Connections
57
+ * **Create GitLab connection** page, choose **Connect to GitLab**. (After you have connected to your GitLab account,
58
+ * you do not need to finish creating the build project. You can leave the CodeBuild console.) To instruct CodeBuild
59
+ * to override the default connection and use this connection instead, set the `auth` object's `type` value to
60
+ * `CODECONNECTIONS` in the `source` object.
51
61
* - For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the
52
62
* buildspec file. You must connect your Amazon Web Services account to your Bitbucket account. Use the CodeBuild
53
63
* console to start creating a build project. When you use the console to connect (or reconnect) with Bitbucket, on
@@ -103,8 +113,8 @@ final class ProjectSource
103
113
104
114
/**
105
115
* Set to true to report the status of a build's start and finish to your source provider. This option is valid only
106
- * when your source provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use a different source
107
- * provider, an `invalidInputException` is thrown.
116
+ * when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and
117
+ * you use a different source provider, an `invalidInputException` is thrown.
108
118
*
109
119
* To be able to report the build status to the source provider, the user associated with the source provider must have
110
120
* write access to the repo. If the user does not have write access, the build status cannot be updated. For more
0 commit comments