Class GithubSource
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apprunner.Source
software.amazon.awscdk.services.apprunner.GithubSource
- All Implemented Interfaces:
- software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:40.051Z")
@Stability(Experimental)
public class GithubSource
extends Source
(experimental) Represents the service source from a Github repository.
 
Example:
 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.apprunner.*;
 GitHubConnection gitHubConnection;
 Runtime runtime;
 GithubSource githubSource = GithubSource.Builder.create()
         .configurationSource(ConfigurationSourceType.REPOSITORY)
         .connection(gitHubConnection)
         .repositoryUrl("repositoryUrl")
         // the properties below are optional
         .branch("branch")
         .codeConfigurationValues(CodeConfigurationValues.builder()
                 .runtime(runtime)
                 // the properties below are optional
                 .buildCommand("buildCommand")
                 .environment(Map.of(
                         "environmentKey", "environment"))
                 .port("port")
                 .startCommand("startCommand")
                 .build())
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forGithubSource.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationMode
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedGithubSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedGithubSource(software.amazon.jsii.JsiiObjectRef objRef) 
- 
Method SummaryModifier and TypeMethodDescriptionbind(software.constructs.Construct _scope) (experimental) Called when the Job is initialized to allow this object to bind.Methods inherited from class software.amazon.awscdk.services.apprunner.SourcefromAsset, fromEcr, fromEcrPublic, fromGitHubMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
GithubSourceprotected GithubSource(software.amazon.jsii.JsiiObjectRef objRef) 
- 
GithubSourceprotected GithubSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
GithubSource- Parameters:
- props- This parameter is required.
 
 
- 
- 
Method Details- 
bind@Stability(Experimental) @NotNull public SourceConfig bind(@NotNull software.constructs.Construct _scope) (experimental) Called when the Job is initialized to allow this object to bind.
 
-