v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1427150102.0 KB

Updates the sync configuration for your connection and a specified external Git repository.

post/#X-Amz-Target=com.amazonaws.codeconnections.CodeConnections_20231201.UpdateSyncConfiguration

Headers

X-Amz-Target'com.amazonaws.codeconnections.CodeConnections_20231201.UpdateSyncConfiguration' required

Request body

Branchstring

The branch for the sync configuration to be updated.

ConfigFilestring

The configuration file for the sync configuration to be updated.

RepositoryLinkIdstring

The ID of the repository link for the sync configuration to be updated.

ResourceNamestring required

The name of the Amazon Web Services resource for the sync configuration to be updated.

RoleArnstring

The ARN of the IAM role for the sync configuration to be updated.

SyncType'CFN_STACK_SYNC' required

The sync type for the sync configuration to be updated.

PublishDeploymentStatus'ENABLED' | 'DISABLED'

Whether to enable or disable publishing of deployment status to source providers.

TriggerResourceUpdateOn'ANY_CHANGE' | 'FILE_CHANGE'

When to trigger Git sync to begin the stack update.

PullRequestComment'ENABLED' | 'DISABLED'

TA toggle that specifies whether to enable or disable pull request comments for the sync configuration to be updated.

Response

Success