---
type: resource-type
title: SyncConfiguration
description: aws resource type AWS::CodeStarConnections::SyncConfiguration
name: SyncConfiguration
lexicon: aws
resource_type: AWS::CodeStarConnections::SyncConfiguration
---
`AWS::CodeStarConnections::SyncConfiguration`, a resource type of the aws lexicon.

## Properties

- `Branch` (`string`, required): The name of the branch of the repository from which resources are to be synchronized,
- `ConfigFile` (`string`, required): The source provider repository path of the sync configuration file of the respective SyncType.
- `RepositoryLinkId` (`string`, required): A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
- `ResourceName` (`string`, required): The name of the resource that is being synchronized to the repository.
- `RoleArn` (`string`, required): The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
- `SyncType` (`string`, required): The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
- `OwnerId` (`string`, optional): the ID of the entity that owns the repository.
- `ProviderType` (`"Bitbucket" | "GitHub" | "GitHubEnterprise" | "GitLab" | "GitLabSelfManaged"`, optional): The name of the external provider where your third-party code repository is configured.
- `PublishDeploymentStatus` (`"DISABLED" | "ENABLED"`, optional): Whether to enable or disable publishing of deployment status to source providers.
- `RepositoryName` (`string`, optional): The name of the repository that is being synced to.
- `TriggerResourceUpdateOn` (`"ANY_CHANGE" | "FILE_CHANGE"`, optional): When to trigger Git sync to begin the stack update.

## Attributes

- `OwnerId`
- `ProviderType`
- `RepositoryName`
