Class CfnServicePropsMixin.CodeConfigurationProperty
Describes the configuration that AWS App Runner uses to build and run an App Runner service from a source code repository.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.AppRunner
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnServicePropsMixin.CodeConfigurationProperty : CfnServicePropsMixin.ICodeConfigurationProperty
Syntax (vb)
Public Class CfnServicePropsMixin.CodeConfigurationProperty Implements CfnServicePropsMixin.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.CfnPropertyMixins.AWS.AppRunner;
var codeConfigurationProperty = new CodeConfigurationProperty {
CodeConfigurationValues = new CodeConfigurationValuesProperty {
BuildCommand = "buildCommand",
Port = "port",
Runtime = "runtime",
RuntimeEnvironmentSecrets = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
RuntimeEnvironmentVariables = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
StartCommand = "startCommand"
},
ConfigurationSource = "configurationSource"
};
Synopsis
Constructors
| CodeConfigurationProperty() | Describes the configuration that AWS App Runner uses to build and run an App Runner service from a source code repository. |
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()
Describes the configuration that AWS App Runner uses to build and run an App Runner service from a source code repository.
public CodeConfigurationProperty()
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.CfnPropertyMixins.AWS.AppRunner;
var codeConfigurationProperty = new CodeConfigurationProperty {
CodeConfigurationValues = new CodeConfigurationValuesProperty {
BuildCommand = "buildCommand",
Port = "port",
Runtime = "runtime",
RuntimeEnvironmentSecrets = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
RuntimeEnvironmentVariables = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
StartCommand = "startCommand"
},
ConfigurationSource = "configurationSource"
};
Properties
CodeConfigurationValues
The basic configuration for building and running the App Runner service.
public object? CodeConfigurationValues { get; set; }
Property Value
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).
Type union: either IResolvable or CfnServicePropsMixin.ICodeConfigurationValuesProperty
ConfigurationSource
The source of the App Runner configuration. Values are interpreted as follows:.
public string? ConfigurationSource { get; set; }