AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes the configuration that App Runner uses to build and run an App Runner service from a source code repository.

Inheritance Hierarchy

System.Object
  Amazon.AppRunner.Model.CodeConfiguration

Namespace: Amazon.AppRunner.Model
Assembly: AWSSDK.AppRunner.dll
Version: 3.x.y.z

Syntax

C#
public class CodeConfiguration

The CodeConfiguration type exposes the following members

Constructors

NameDescription
Public Method CodeConfiguration()

Properties

NameTypeDescription
Public Property CodeConfigurationValues Amazon.AppRunner.Model.CodeConfigurationValues

Gets and sets the property CodeConfigurationValues.

The basic configuration for building and running the App Runner service. 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).

Public Property ConfigurationSource Amazon.AppRunner.ConfigurationSource

Gets and sets the property ConfigurationSource.

The source of the App Runner configuration. Values are interpreted as follows:

  • REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in the source code repository and ignores CodeConfigurationValues.

  • API – App Runner uses configuration values provided in CodeConfigurationValues and ignores the apprunner.yaml file in the source code repository.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5