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.98.0 (build 00b106d)", date="2024-05-17T05:10:19.713Z") @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.