AWS::AppRunner::Service SourceConfiguration
Describes the source deployed to an AWS App Runner service. It can be a code or an image repository.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "AuthenticationConfiguration" :
AuthenticationConfiguration
, "AutoDeploymentsEnabled" :Boolean
, "CodeRepository" :CodeRepository
, "ImageRepository" :ImageRepository
}
YAML
AuthenticationConfiguration:
AuthenticationConfiguration
AutoDeploymentsEnabled:Boolean
CodeRepository:CodeRepository
ImageRepository:ImageRepository
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 AWS account other than the one that the service is in. App Runner sets totrue
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