Interface GithubRepositoryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GithubRepositoryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.050Z")
@Stability(Experimental)
public interface GithubRepositoryProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties of the Github repository for
Source.fromGitHub()
.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forGithubRepositoryProps
static final class
An implementation forGithubRepositoryProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
(experimental) The branch name that represents a specific version for the repository.default CodeConfigurationValues
(experimental) The code configuration values.(experimental) The source of the App Runner configuration.(experimental) ARN of the connection to Github.(experimental) The location of the repository that contains the source code.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationSource
(experimental) The source of the App Runner configuration. -
getConnection
(experimental) ARN of the connection to Github.Only required for Github source.
-
getRepositoryUrl
(experimental) The location of the repository that contains the source code. -
getBranch
(experimental) The branch name that represents a specific version for the repository.Default: main
-
getCodeConfigurationValues
(experimental) The code configuration values.Will be ignored if configurationSource is
REPOSITORY
.Default: - no values will be passed. The `apprunner.yaml` from the github reopsitory will be used instead.
-
builder
- Returns:
- a
GithubRepositoryProps.Builder
ofGithubRepositoryProps
-