AWS::AppRunner::Service CodeConfiguration
Describes the configuration that AWS App Runner uses to build and run an App Runner service from a source code repository.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CodeConfigurationValues" :
CodeConfigurationValues
, "ConfigurationSource" :String
}
Properties
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).Required: No
Type: CodeConfigurationValues
Update requires: No interruption
ConfigurationSource
-
The source of the App Runner configuration. Values are interpreted as follows:
-
REPOSITORY
– App Runner reads configuration values from theapprunner.yaml
file in the source code repository and ignoresCodeConfigurationValues
. -
API
– App Runner uses configuration values provided inCodeConfigurationValues
and ignores theapprunner.yaml
file in the source code repository.
Required: Yes
Type: String
Allowed values:
REPOSITORY | API
Update requires: No interruption
-