Class GitHubSourceCodeProvider
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.amplify.GitHubSourceCodeProvider
- All Implemented Interfaces:
ISourceCodeProvider
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:42.156Z")
@Stability(Experimental)
public class GitHubSourceCodeProvider
extends software.amazon.jsii.JsiiObject
implements ISourceCodeProvider
(experimental) GitHub source code provider.
Example:
App amplifyApp = App.Builder.create(this, "MyApp") .sourceCodeProvider(GitHubSourceCodeProvider.Builder.create() .owner("<user>") .repository("<repo>") .oauthToken(SecretValue.secretsManager("my-github-token")) .build()) .autoBranchCreation(AutoBranchCreation.builder() // Automatically connect branches that match a pattern set .patterns(List.of("feature/*", "test/*")).build()) .autoBranchDeletion(true) .build();
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forGitHubSourceCodeProvider
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.amplify.ISourceCodeProvider
ISourceCodeProvider.Jsii$Default, ISourceCodeProvider.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
GitHubSourceCodeProvider
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
GitHubSourceCodeProvider
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescription(experimental) Binds the source code provider to an app.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
GitHubSourceCodeProvider
protected GitHubSourceCodeProvider(software.amazon.jsii.JsiiObjectRef objRef) -
GitHubSourceCodeProvider
protected GitHubSourceCodeProvider(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
GitHubSourceCodeProvider
@Stability(Experimental) public GitHubSourceCodeProvider(@NotNull GitHubSourceCodeProviderProps props) - Parameters:
props
- This parameter is required.
-
-
Method Details
-
bind
(experimental) Binds the source code provider to an app.- Specified by:
bind
in interfaceISourceCodeProvider
- Parameters:
_app
- This parameter is required.
-