@@ -16,8 +16,10 @@ final class ProjectSource
1616 * - `BITBUCKET`: The source code is in a Bitbucket repository.
1717 * - `CODECOMMIT`: The source code is in an CodeCommit repository.
1818 * - `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.
2020 * - `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.
2123 * - `NO_SOURCE`: The project does not have input source code.
2224 * - `S3`: The source code is in an Amazon S3 bucket.
2325 *
@@ -48,6 +50,14 @@ final class ProjectSource
4850 * want to allow CodeBuild to have access to, and then choose **Authorize application**. (After you have connected to
4951 * your GitHub account, you do not need to finish creating the build project. You can leave the CodeBuild console.) To
5052 * 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.
5161 * - For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the
5262 * buildspec file. You must connect your Amazon Web Services account to your Bitbucket account. Use the CodeBuild
5363 * 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
103113
104114 /**
105115 * 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.
108118 *
109119 * To be able to report the build status to the source provider, the user associated with the source provider must have
110120 * write access to the repo. If the user does not have write access, the build status cannot be updated. For more
0 commit comments