Class GitLabSourceCodeProvider

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.amplify.alpha.GitLabSourceCodeProvider
All Implemented Interfaces:
ISourceCodeProvider, software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-10-31T19:13:07.664Z") @Stability(Experimental) public class GitLabSourceCodeProvider extends software.amazon.jsii.JsiiObject implements ISourceCodeProvider
(experimental) GitLab source code provider.

Example:

 App amplifyApp = App.Builder.create(this, "MyApp")
         .sourceCodeProvider(GitLabSourceCodeProvider.Builder.create()
                 .owner("<user>")
                 .repository("<repo>")
                 .oauthToken(SecretValue.secretsManager("my-gitlab-token"))
                 .build())
         .build();
 
  • Constructor Details

    • GitLabSourceCodeProvider

      protected GitLabSourceCodeProvider(software.amazon.jsii.JsiiObjectRef objRef)
    • GitLabSourceCodeProvider

      protected GitLabSourceCodeProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • GitLabSourceCodeProvider

      @Stability(Experimental) public GitLabSourceCodeProvider(@NotNull GitLabSourceCodeProviderProps props)
      Parameters:
      props - This parameter is required.
  • Method Details

    • bind

      @Stability(Experimental) @NotNull public SourceCodeProviderConfig bind(@NotNull App _app)
      (experimental) Binds the source code provider to an app.

      Specified by:
      bind in interface ISourceCodeProvider
      Parameters:
      _app - This parameter is required.