This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
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:CodeConfigurationRepositoryUrl:StringSourceCodeVersion:SourceCodeVersionSourceDirectory:String
Properties
CodeConfiguration-
Configuration for building and running the service from a source code repository.
Note
CodeConfigurationis required only forCreateServicerequest.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:
0Maximum:
51200Update 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:
1Maximum:
4096Update requires: No interruption