Update Sync Configuration
| codestarconnections_update_sync_configuration | R Documentation |
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¶
codestarconnections_update_sync_configuration(Branch, ConfigFile,
RepositoryLinkId, ResourceName, RoleArn, SyncType,
PublishDeploymentStatus, TriggerResourceUpdateOn)
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.
Value¶
A list with the following syntax:
list(
SyncConfiguration = list(
Branch = "string",
ConfigFile = "string",
OwnerId = "string",
ProviderType = "Bitbucket"|"GitHub"|"GitHubEnterpriseServer"|"GitLab"|"GitLabSelfManaged",
RepositoryLinkId = "string",
RepositoryName = "string",
ResourceName = "string",
RoleArn = "string",
SyncType = "CFN_STACK_SYNC",
PublishDeploymentStatus = "ENABLED"|"DISABLED",
TriggerResourceUpdateOn = "ANY_CHANGE"|"FILE_CHANGE"
)
)