This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::AmplifyGen3::App GitLabSource
The GitLab source repository settings for an Amplify Gen 3 app.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Owner" :String, "ProductionBranch" :String, "RepositoryUrl" :String}
YAML
Owner:StringProductionBranch:StringRepositoryUrl:String
Properties
Owner-
The owner of the repository in the Git provider.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9._-]+$Minimum:
1Maximum:
256Update requires: No interruption
ProductionBranch-
The name of the production branch. Amazon Amplify Gen 3 uses it only when it creates the app, to set the branches that the production and preview environments deploy. To change the branches that an environment deploys later, update the environment's
SourceConfig.Required: Yes
Type: String
Minimum:
1Maximum:
256Update requires: Replacement
RepositoryUrl-
The URL of the source repository.
Required: Yes
Type: String
Minimum:
1Maximum:
2048Update requires: No interruption