Class CodeCommitSourceCodeProvider

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

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

Example:

 import software.amazon.awscdk.services.codecommit.*;
 Repository repository = Repository.Builder.create(this, "Repo")
         .repositoryName("my-repo")
         .build();
 App amplifyApp = App.Builder.create(this, "App")
         .sourceCodeProvider(CodeCommitSourceCodeProvider.Builder.create().repository(repository).build())
         .build();
 
  • Constructor Details

    • CodeCommitSourceCodeProvider

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

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

      @Stability(Experimental) public CodeCommitSourceCodeProvider(@NotNull CodeCommitSourceCodeProviderProps 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.