AWS::AppRunner::Service CodeConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

AWS::AppRunner::Service CodeConfiguration

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


To declare this entity in your Amazon CloudFormation template, use the following syntax:



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


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.

Required: Yes

Type: String

Allowed values: API | REPOSITORY

Update requires: No interruption