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.99.0 (build 8f757e4)", date="2024-06-13T18:49:27.444Z") @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.