@aws-cdk_aws-amplify-alpha.GitLabSourceCodeProvider

class GitLabSourceCodeProvider 🔹

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

Implements ISourceCodeProvider

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'),
  }),
});

Initializer

new GitLabSourceCodeProvider(props: GitLabSourceCodeProviderProps)

Parameters

  • props GitLabSourceCodeProviderProps

Methods

NameDescription
bind(_app)🔹Binds the source code provider to an app.

bind(_app)🔹

public bind(_app: App): SourceCodeProviderConfig

Parameters

  • _app App

Returns

  • SourceCodeProviderConfig

Binds the source code provider to an app.