> **Experimental**
>
> `@aws-cdk/aws-amplify-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# GitLabSourceCodeProviderProps

Properties for a GitLab source code provider.

Extends: GitLabSourceCodeProviderProps
Used as props by: GitLabSourceCodeProvider

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/source-code-providers.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0-alpha.0/packages/@aws-cdk/aws-amplify-alpha/lib/source-code-providers.ts#L42)

## Example

```ts
const amplifyApp = new amplify.App(this, 'MyApp', {
  sourceCodeProvider: new amplify.GitLabSourceCodeProvider({
    owner: '<user>',
    repository: '<repo>',
    oauthToken: SecretValue.secretsManager('my-gitlab-token'),
  }),
});
```

## Properties

- `oauthToken`: [SecretValue](/cdk/api/v2/docs/aws-cdk-lib.SecretValue.html) (required) — A personal access token with the `repo` scope.

- `owner`: string (required) — The user or organization owning the repository.

- `repository`: string (required) — The name of the repository.
