Class GithubRepositoryProps
(experimental) Properties of the Github repository for Source.fromGitHub()
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public class GithubRepositoryProps : Object, IGithubRepositoryProps
Syntax (vb)
Public Class GithubRepositoryProps
Inherits Object
Implements IGithubRepositoryProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
new Service(this, "Service", new ServiceProps {
Source = Source.FromGitHub(new GithubRepositoryProps {
RepositoryUrl = "https://github.com/aws-containers/hello-app-runner",
Branch = "main",
ConfigurationSource = ConfigurationSourceType.REPOSITORY,
Connection = GitHubConnection.FromConnectionArn("CONNECTION_ARN")
})
});
Synopsis
Constructors
GithubRepositoryProps() |
Properties
Branch | (experimental) The branch name that represents a specific version for the repository. |
CodeConfigurationValues | (experimental) The code configuration values. |
ConfigurationSource | (experimental) The source of the App Runner configuration. |
Connection | (experimental) ARN of the connection to Github. |
RepositoryUrl | (experimental) The location of the repository that contains the source code. |
Constructors
GithubRepositoryProps()
public GithubRepositoryProps()
Properties
Branch
(experimental) The branch name that represents a specific version for the repository.
public string Branch { get; set; }
Property Value
System.String
Remarks
Default: main
Stability: Experimental
CodeConfigurationValues
(experimental) The code configuration values.
public ICodeConfigurationValues CodeConfigurationValues { get; set; }
Property Value
Remarks
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: Experimental
ConfigurationSource
(experimental) The source of the App Runner configuration.
public ConfigurationSourceType ConfigurationSource { get; set; }
Property Value
Remarks
Stability: Experimental
Connection
(experimental) ARN of the connection to Github.
public GitHubConnection Connection { get; set; }
Property Value
Remarks
Only required for Github source.
Stability: Experimental
RepositoryUrl
(experimental) The location of the repository that contains the source code.
public string RepositoryUrl { get; set; }
Property Value
System.String
Remarks
Stability: Experimental