Skip to content
v2.273.0

Experimental

@aws-cdk/aws-amplify-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

GitLabSourceCodeProviderProps Struct ​

Properties for a GitLab source code provider.

Example ​

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

Properties ​

oauthTokenSecretValueoauth_tokenSecretValueoauthTokenSecretValueOauthTokenSecretValueOauthTokenSecretValuerequired#
A personal access token with the `repo` scope.
ownerstringownerstrownerStringOwnerstringOwner*stringrequired#
The user or organization owning the repository.
repositorystringrepositorystrrepositoryStringRepositorystringRepository*stringrequired#
The name of the repository.

Used as props by ​