@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.570Z") @Stability(value=Experimental) public class GitHubConnection extends software.amazon.jsii.JsiiObject
It's required for GitHub code repositories.
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 | Constructor and Description |
|---|---|
protected |
GitHubConnection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GitHubConnection(software.amazon.jsii.JsiiObjectRef objRef) |
|
GitHubConnection(String arn) |
| Modifier and Type | Method and Description |
|---|---|
static GitHubConnection |
fromConnectionArn(String arn)
(experimental) Using existing App Runner connection by specifying the connection ARN.
|
String |
getConnectionArn()
(experimental) The ARN of the Connection for App Runner service to connect to the repository.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected GitHubConnection(software.amazon.jsii.JsiiObjectRef objRef)
protected GitHubConnection(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public GitHubConnection(@NotNull
String arn)
arn - This parameter is required.@Stability(value=Experimental) @NotNull public static GitHubConnection fromConnectionArn(@NotNull String arn)
arn - connection ARN. This parameter is required.@Stability(value=Experimental) @NotNull public String getConnectionArn()
Copyright © 2022. All rights reserved.