View a markdown version of this page

AWS::AmplifyGen3::App GitSource - 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 GitSource

The Git source settings for an environment.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "BranchMatchPatterns" : [ String, ... ], "DeploymentTriggerEvents" : [ String, ... ] }

Properties

BranchMatchPatterns

The branch name patterns that trigger a deployment.

Required: Yes

Type: Array of String

Minimum: 1 | 1

Maximum: 256 | 50

Update requires: No interruption

DeploymentTriggerEvents

The Git events that trigger a deployment.

Required: No

Type: Array of String

Allowed values: PUSH | PULL_REQUEST | FORK_PULL_REQUEST

Update requires: No interruption