Class CfnService.CodeConfigurationProperty
Describes the configuration that AWS App Runner uses to build and run an App Runner service from a source code repository.
Inheritance
System.Object
CfnService.CodeConfigurationProperty
Implements
Namespace: Amazon.CDK.AWS.AppRunner
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CodeConfigurationProperty : Object, CfnService.ICodeConfigurationProperty
Syntax (vb)
Public Class CodeConfigurationProperty
Inherits Object
Implements CfnService.ICodeConfigurationProperty
Remarks
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;
var codeConfigurationProperty = new CodeConfigurationProperty {
ConfigurationSource = "configurationSource",
// the properties below are optional
CodeConfigurationValues = new CodeConfigurationValuesProperty {
Runtime = "runtime",
// the properties below are optional
BuildCommand = "buildCommand",
Port = "port",
RuntimeEnvironmentSecrets = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
RuntimeEnvironmentVariables = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
StartCommand = "startCommand"
}
};
Synopsis
Constructors
CodeConfigurationProperty() |
Properties
CodeConfigurationValues | The basic configuration for building and running the App Runner service. |
ConfigurationSource | The source of the App Runner configuration. Values are interpreted as follows:. |
Constructors
CodeConfigurationProperty()
public CodeConfigurationProperty()
Properties
CodeConfigurationValues
The basic configuration for building and running the App Runner service.
public object CodeConfigurationValues { get; set; }
Property Value
System.Object
Remarks
Use it to quickly launch an App Runner service without providing a apprunner.yaml
file in the source code repository (or ignoring the file if it exists).
ConfigurationSource
The source of the App Runner configuration. Values are interpreted as follows:.
public string ConfigurationSource { get; set; }
Property Value
System.String