AWS::AppRunner::Service CodeConfigurationValues
Describes the basic configuration needed for building and running an Amazon 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.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "BuildCommand" :String, "Port" :String, "Runtime" :String, "RuntimeEnvironmentSecrets" :[ KeyValuePair, ... ], "RuntimeEnvironmentVariables" :[ KeyValuePair, ... ], "StartCommand" :String}
YAML
BuildCommand:StringPort:StringRuntime:StringRuntimeEnvironmentSecrets:- KeyValuePairRuntimeEnvironmentVariables:- KeyValuePairStartCommand:String
Properties
BuildCommand-
The command App Runner runs to build your application.
Required: No
Type: String
Pattern:
[^\x0a\x0d]+Update requires: No interruption
Port-
The port that your application listens to in the container.
Default:
8080Required: No
Type: String
Minimum:
0Maximum:
51200Pattern:
.*Update requires: No interruption
Runtime-
A runtime environment type for building and running an App Runner service. It represents a programming language runtime.
Required: Yes
Type: String
Allowed values:
CORRETTO_11 | CORRETTO_8 | DOTNET_6 | GO_1 | NODEJS_12 | NODEJS_14 | NODEJS_16 | PHP_81 | PYTHON_3 | RUBY_31Update requires: No interruption
RuntimeEnvironmentSecretsProperty description not available.
Required: No
Type: List of KeyValuePair
Update requires: No interruption
RuntimeEnvironmentVariables-
The environment variables that are available to your running Amazon App Runner service. An array of key-value pairs.
Required: No
Type: List of KeyValuePair
Update requires: No interruption
StartCommand-
The command App Runner runs to start your application.
Required: No
Type: String
Pattern:
[^\x0a\x0d]+Update requires: No interruption