Lihat detail konfigurasi sinkronisasi - Konsol Alat Developer

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

Lihat detail konfigurasi sinkronisasi

Anda dapat menggunakan get-sync-configuration perintah di AWS Command Line Interface (AWS CLI) untuk melihat detail untuk konfigurasi sinkronisasi.

Untuk melihat detail untuk konfigurasi sinkronisasi
  1. Buka terminal (Linux, macOS, atau Unix) atau command prompt (Windows). Gunakan AWS CLI untuk menjalankan get-sync-configuration perintah, menentukan ID tautan repositori.

    aws codeconnections get-sync-configuration --sync-type CFN_STACK_SYNC --resource-name mystack
  2. Perintah ini mengembalikan output berikut.

    { "SyncConfiguration": { "Branch": "main", "ConfigFile": "filename", "OwnerId": "owner_id", "ProviderType": "GitHub", "RepositoryLinkId": "be8f2017-b016-4a77-87b4-608054f70e77", "RepositoryName": "MyRepo", "ResourceName": "mystack", "RoleArn": "arn:aws:iam::account_id:role/myrole", "SyncType": "CFN_STACK_SYNC" } }