@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.572Z") @Stability(value=Experimental) public class GithubSource extends Source
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
GithubSource.Builder
(experimental) A fluent builder for
GithubSource. |
| Modifier | Constructor and Description |
|---|---|
|
GithubSource(GithubRepositoryProps props) |
protected |
GithubSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GithubSource(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
SourceConfig |
bind(software.constructs.Construct _scope)
(experimental) Called when the Job is initialized to allow this object to bind.
|
fromAsset, fromEcr, fromEcrPublic, fromGitHubjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected GithubSource(software.amazon.jsii.JsiiObjectRef objRef)
protected GithubSource(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public GithubSource(@NotNull
GithubRepositoryProps props)
props - This parameter is required.@Stability(value=Experimental) @NotNull public SourceConfig bind(@NotNull software.constructs.Construct _scope)
Copyright © 2022. All rights reserved.