class GitLabSourceCodeProvider
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Amplify.Alpha.GitLabSourceCodeProvider |
![]() | github.com/aws/aws-cdk-go/awscdkamplifyalpha/v2#GitLabSourceCodeProvider |
![]() | software.amazon.awscdk.services.amplify.alpha.GitLabSourceCodeProvider |
![]() | aws_cdk.aws_amplify_alpha.GitLabSourceCodeProvider |
![]() | @aws-cdk/aws-amplify-alpha » GitLabSourceCodeProvider |
Implements
ISource
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
Methods
Name | Description |
---|---|
bind(_app) | Binds the source code provider to an app. |
bind(_app)
public bind(_app: App): SourceCodeProviderConfig
Parameters
- _app
App
Returns
Binds the source code provider to an app.