

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](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::AmplifyGen3::App AppSourceConfig

The source repository configuration for an Amplify Gen 3 app.

## Syntax
<a name="aws-properties-amplifygen3-app-appsourceconfig-syntax"></a>

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

### JSON
<a name="aws-properties-amplifygen3-app-appsourceconfig-syntax.json"></a>

```json
{
  "[GitHubSource](#cfn-amplifygen3-app-appsourceconfig-githubsource)" : {{GitHubSource}},
  "[GitLabSource](#cfn-amplifygen3-app-appsourceconfig-gitlabsource)" : {{GitLabSource}}
}
```

### YAML
<a name="aws-properties-amplifygen3-app-appsourceconfig-syntax.yaml"></a>

```yaml
  [GitHubSource](#cfn-amplifygen3-app-appsourceconfig-githubsource): {{
    GitHubSource}}
  [GitLabSource](#cfn-amplifygen3-app-appsourceconfig-gitlabsource): {{
    GitLabSource}}
```

## Properties
<a name="aws-properties-amplifygen3-app-appsourceconfig-properties"></a>

`GitHubSource`  <a name="cfn-amplifygen3-app-appsourceconfig-githubsource"></a>
The GitHub source repository settings.  
*Required*: No  
*Type*: [GitHubSource](aws-properties-amplifygen3-app-githubsource.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`GitLabSource`  <a name="cfn-amplifygen3-app-appsourceconfig-gitlabsource"></a>
The GitLab source repository settings.  
*Required*: No  
*Type*: [GitLabSource](aws-properties-amplifygen3-app-gitlabsource.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)