Skip to content

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

  • Branch

    The branch for the sync configuration to be updated.

  • ConfigFile

    The configuration file for the sync configuration to be updated.

  • RepositoryLinkId

    The 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.

  • RoleArn

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

  • SyncType

    [required] The sync type for the sync configuration to be updated.

  • PublishDeploymentStatus

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

  • TriggerResourceUpdateOn

    When to trigger Git sync to begin the stack update.

  • PullRequestComment

    TA 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"
)