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 basic configuration needed for building and running an App Runner service. This type doesn't support the full set of possible configuration options. Fur full configuration capabilities, use a apprunner.yaml file in the source code repository.

Inheritance Hierarchy

System.Object
  Amazon.AppRunner.Model.CodeConfigurationValues

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

Syntax

C#
public class CodeConfigurationValues

The CodeConfigurationValues type exposes the following members

Constructors

NameDescription
Public Method CodeConfigurationValues()

Properties

NameTypeDescription
Public Property BuildCommand System.String

Gets and sets the property BuildCommand.

The command App Runner runs to build your application.

Public Property Port System.String

Gets and sets the property Port.

The port that your application listens to in the container.

Default: 8080

Public Property Runtime Amazon.AppRunner.Runtime

Gets and sets the property Runtime.

A runtime environment type for building and running an App Runner service. It represents a programming language runtime.

Public Property RuntimeEnvironmentSecrets System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property RuntimeEnvironmentSecrets.

An array of key-value pairs representing the secrets and parameters that get referenced to your service as an environment variable. The supported values are either the full Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter in the Amazon Web Services Systems Manager Parameter Store.

  • If the Amazon Web Services Systems Manager Parameter Store parameter exists in the same Amazon Web Services Region as the service that you're launching, you can use either the full ARN or name of the secret. If the parameter exists in a different Region, then the full ARN must be specified.

  • Currently, cross account referencing of Amazon Web Services Systems Manager Parameter Store parameter is not supported.

Public Property RuntimeEnvironmentVariables System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property RuntimeEnvironmentVariables.

The environment variables that are available to your running App Runner service. An array of key-value pairs.

Public Property StartCommand System.String

Gets and sets the property StartCommand.

The command App Runner runs to start your application.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5