View a markdown version of this page

AWS::AmplifyGen3::App GitLabSource - 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 (PDF).

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: String ProductionBranch: String RepositoryUrl: String

Properties

Owner

The owner of the repository in the Git provider.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9._-]+$

Minimum: 1

Maximum: 256

Update 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: 1

Maximum: 256

Update requires: Replacement

RepositoryUrl

The URL of the source repository.

Required: Yes

Type: String

Minimum: 1

Maximum: 2048

Update requires: No interruption