@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:42.575Z") @Stability(value=Experimental) public interface GithubRepositoryProps extends software.amazon.jsii.JsiiSerializable
Example:
Service.Builder.create(this, "Service")
.source(Source.fromGitHub(GithubRepositoryProps.builder()
.repositoryUrl("https://github.com/aws-containers/hello-app-runner")
.branch("main")
.configurationSource(ConfigurationSourceType.REPOSITORY)
.connection(GitHubConnection.fromConnectionArn("CONNECTION_ARN"))
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
GithubRepositoryProps.Builder
A builder for
GithubRepositoryProps |
static class |
GithubRepositoryProps.Jsii$Proxy
An implementation for
GithubRepositoryProps |
| Modifier and Type | Method and Description |
|---|---|
static GithubRepositoryProps.Builder |
builder() |
default String |
getBranch()
(experimental) The branch name that represents a specific version for the repository.
|
default CodeConfigurationValues |
getCodeConfigurationValues()
(experimental) The code configuration values.
|
ConfigurationSourceType |
getConfigurationSource()
(experimental) The source of the App Runner configuration.
|
GitHubConnection |
getConnection()
(experimental) ARN of the connection to Github.
|
String |
getRepositoryUrl()
(experimental) The location of the repository that contains the source code.
|
@Stability(value=Experimental) @NotNull ConfigurationSourceType getConfigurationSource()
@Stability(value=Experimental) @NotNull GitHubConnection getConnection()
Only required for Github source.
@Stability(value=Experimental) @NotNull String getRepositoryUrl()
@Stability(value=Experimental) @Nullable default String getBranch()
Default: main
@Stability(value=Experimental) @Nullable default CodeConfigurationValues getCodeConfigurationValues()
Will be ignored if configurationSource is REPOSITORY.
Default: - no values will be passed. The `apprunner.yaml` from the github reopsitory will be used instead.
@Stability(value=Experimental) static GithubRepositoryProps.Builder builder()
GithubRepositoryProps.Builder of GithubRepositoryPropsCopyright © 2022. All rights reserved.