Show / Hide Table of Contents

Interface ICodeRepositoryProps

(experimental) Properties of the CodeRepository.

Namespace: Amazon.CDK.AWS.AppRunner.Alpha
Assembly: Amazon.CDK.AWS.AppRunner.Alpha.dll
Syntax (csharp)
public interface ICodeRepositoryProps
Syntax (vb)
Public Interface ICodeRepositoryProps
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.AppRunner.Alpha;

             GitHubConnection gitHubConnection;
             Runtime runtime;
             Secret secret;

             var codeRepositoryProps = new CodeRepositoryProps {
                 CodeConfiguration = new CodeConfiguration {
                     ConfigurationSource = ConfigurationSourceType.REPOSITORY,

                     // the properties below are optional
                     ConfigurationValues = new CodeConfigurationValues {
                         Runtime = runtime,

                         // the properties below are optional
                         BuildCommand = "buildCommand",
                         Environment = new Dictionary<string, string> {
                             { "environmentKey", "environment" }
                         },
                         EnvironmentSecrets = new Dictionary<string, Secret> {
                             { "environmentSecretsKey", secret }
                         },
                         EnvironmentVariables = new Dictionary<string, string> {
                             { "environmentVariablesKey", "environmentVariables" }
                         },
                         Port = "port",
                         StartCommand = "startCommand"
                     }
                 },
                 Connection = gitHubConnection,
                 RepositoryUrl = "repositoryUrl",
                 SourceCodeVersion = new SourceCodeVersion {
                     Type = "type",
                     Value = "value"
                 }
             };

Synopsis

Properties

CodeConfiguration

(experimental) Configuration for building and running the service from a source code repository.

Connection

(experimental) The App Runner connection for GitHub.

RepositoryUrl

(experimental) The location of the repository that contains the source code.

SourceCodeVersion

(experimental) The version that should be used within the source code repository.

Properties

CodeConfiguration

(experimental) Configuration for building and running the service from a source code repository.

ICodeConfiguration CodeConfiguration { get; }
Property Value

ICodeConfiguration

Remarks

Stability: Experimental

Connection

(experimental) The App Runner connection for GitHub.

GitHubConnection Connection { get; }
Property Value

GitHubConnection

Remarks

Stability: Experimental

RepositoryUrl

(experimental) The location of the repository that contains the source code.

string RepositoryUrl { get; }
Property Value

string

Remarks

Stability: Experimental

SourceCodeVersion

(experimental) The version that should be used within the source code repository.

ISourceCodeVersion SourceCodeVersion { get; }
Property Value

ISourceCodeVersion

Remarks

Stability: Experimental

Back to top Generated by DocFX