@aws-cdk_aws-amplify-alpha.GitLabSourceCodeProviderProps

interface GitLabSourceCodeProviderProps ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Amplify.Alpha.GitLabSourceCodeProviderProps
Gogithub.com/aws/aws-cdk-go/awscdkamplifyalpha/v2#GitLabSourceCodeProviderProps
Javasoftware.amazon.awscdk.services.amplify.alpha.GitLabSourceCodeProviderProps
Pythonaws_cdk.aws_amplify_alpha.GitLabSourceCodeProviderProps
TypeScript (source)@aws-cdk/aws-amplify-alpha ยป GitLabSourceCodeProviderProps

Properties for a GitLab source code provider.

Example

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

Properties

NameTypeDescription
oauthToken๐Ÿ”นSecretValueA personal access token with the repo scope.
owner๐Ÿ”นstringThe user or organization owning the repository.
repository๐Ÿ”นstringThe name of the repository.

oauthToken๐Ÿ”น

Type: SecretValue

A personal access token with the repo scope.


owner๐Ÿ”น

Type: string

The user or organization owning the repository.


repository๐Ÿ”น

Type: string

The name of the repository.