Updates the sync configuration for your connection and a specified external Git repository¶
Description¶
Updates the sync configuration for your connection and a specified external Git repository.
Usage¶
codeconnections_update_sync_configuration(Branch, ConfigFile,
RepositoryLinkId, ResourceName, RoleArn, SyncType,
PublishDeploymentStatus, TriggerResourceUpdateOn, PullRequestComment)
Arguments¶
-
BranchThe branch for the sync configuration to be updated.
-
ConfigFileThe configuration file for the sync configuration to be updated.
-
RepositoryLinkIdThe ID of the repository link for the sync configuration to be updated.
-
ResourceName[required] The name of the Amazon Web Services resource for the sync configuration to be updated.
-
RoleArnThe ARN of the IAM role for the sync configuration to be updated.
-
SyncType[required] The sync type for the sync configuration to be updated.
-
PublishDeploymentStatusWhether to enable or disable publishing of deployment status to source providers.
-
TriggerResourceUpdateOnWhen to trigger Git sync to begin the stack update.
-
PullRequestCommentTA toggle that specifies whether to enable or disable pull request comments for the sync configuration to be updated.
Value¶
A list with the following syntax:
list(
SyncConfiguration = list(
Branch = "string",
ConfigFile = "string",
OwnerId = "string",
ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged"|"AzureDevOps",
RepositoryLinkId = "string",
RepositoryName = "string",
ResourceName = "string",
RoleArn = "string",
SyncType = "CFN_STACK_SYNC",
PublishDeploymentStatus = "ENABLED"|"DISABLED",
TriggerResourceUpdateOn = "ANY_CHANGE"|"FILE_CHANGE",
PullRequestComment = "ENABLED"|"DISABLED"
)
)
Request syntax¶
svc$update_sync_configuration(
Branch = "string",
ConfigFile = "string",
RepositoryLinkId = "string",
ResourceName = "string",
RoleArn = "string",
SyncType = "CFN_STACK_SYNC",
PublishDeploymentStatus = "ENABLED"|"DISABLED",
TriggerResourceUpdateOn = "ANY_CHANGE"|"FILE_CHANGE",
PullRequestComment = "ENABLED"|"DISABLED"
)