AWS::AppRunner::Service SourceConfiguration - 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 SourceConfiguration

Describes the source deployed to an Amazon App Runner service. It can be a code or an image repository.

Syntax

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

Properties

AuthenticationConfiguration

Describes the resources that are needed to authenticate access to some source repositories.

Required: No

Type: AuthenticationConfiguration

Update requires: No interruption

AutoDeploymentsEnabled

If true, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.

Default: App Runner sets to false for a source image that uses an ECR Public repository or an ECR repository that's in an Amazon Web Services account other than the one that the service is in. App Runner sets to true in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).

Required: No

Type: Boolean

Update requires: No interruption

CodeRepository

The description of a source code repository.

You must provide either this member or ImageRepository (but not both).

Required: No

Type: CodeRepository

Update requires: No interruption

ImageRepository

The description of a source image repository.

You must provide either this member or CodeRepository (but not both).

Required: No

Type: ImageRepository

Update requires: No interruption