Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

List sync configurations - Developer Tools console

List sync configurations

You can use the list-sync-configurations command in the AWS Command Line Interface (AWS CLI) to list repository links for your account.

To list repository links
  1. Open a terminal (Linux, macOS, or Unix) or command prompt (Windows). Use the AWS CLI to run the list-sync-configurations command, specifying the sync type and repository link ID.

    aws codeconnections list-sync-configurations --repository-link-id 6053346f-8a33-4edb-9397-10394b695173 --sync-type CFN_STACK_SYNC
  2. This command returns the following output.

    { "SyncConfigurations": [ { "Branch": "main", "ConfigFile": "filename.yaml", "OwnerId": "owner_id", "ProviderType": "GitHub", "RepositoryLinkId": "6053346f-8a33-4edb-9397-10394b695173", "RepositoryName": "MyRepo", "ResourceName": "mystack", "RoleArn": "arn:aws:iam::account_id:role/myrole", "SyncType": "CFN_STACK_SYNC" } ] }
PrivacySite termsCookie preferences
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.