AWS::AppRunner::Service CodeRepository
Describes a source code repository.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CodeConfiguration" :
CodeConfiguration
, "RepositoryUrl" :String
, "SourceCodeVersion" :SourceCodeVersion
, "SourceDirectory" :String
}
YAML
CodeConfiguration:
CodeConfiguration
RepositoryUrl:String
SourceCodeVersion:SourceCodeVersion
SourceDirectory:String
Properties
CodeConfiguration
-
Configuration for building and running the service from a source code repository.
Note
CodeConfiguration
is required only forCreateService
request.Required: No
Type: CodeConfiguration
Update requires: No interruption
RepositoryUrl
-
The location of the repository that contains the source code.
Required: Yes
Type: String
Pattern:
.*
Minimum:
0
Maximum:
51200
Update requires: No interruption
SourceCodeVersion
-
The version that should be used within the source code repository.
Required: Yes
Type: SourceCodeVersion
Update requires: No interruption
SourceDirectory
-
The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
Required: No
Type: String
Pattern:
[^\x00]+
Minimum:
1
Maximum:
4096
Update requires: No interruption