跳至內容

如何對 API Gateway 公有自訂網域名稱組態問題進行疑難排解?

1 分的閱讀內容
0

我想在 Amazon API GatewayAPI 中對自訂網域名稱組態進行疑難排解。

解決方法

若要對 API Gateway 公有自訂網域名稱組態問題進行疑難排解,請使用 AWSSupport-TroubleshootAPIGatewayCustomDomainConfig 執行手冊。此執行手冊僅支援以預設路由模式 API 映射設定的公有自訂網域,不支援以路由規則的路由模式設定的自訂網域,也不支援私有自訂網域。

先決條件: 請確定您的 AWS Identity and Access Management (IAM) 使用者或角色具有所需的許可。如需更多資訊,請參閱 AWSSupport-TroubleshootAPIGatewayCustomDomainConfig 的 IAM Permissions (IAM 許可) 一節。

執行 Systems Manager 執行手冊

請完成下列步驟:

  1. 開啟 AWS Systems Manager 主控台。
  2. 在導覽窗格中,選擇 Documents (文件)。
  3. 在搜尋列中,輸入 TroubleshootAPIGatewayCustomDomainConfig。
  4. 選取 AWSSupport-TroubleshootAPIGatewayCustomDomainConfig 文件。
  5. 選擇 Execute automation (執行自動化)。
  6. 選擇 Execute (執行)。
    注意: 如需執行手冊的步驟清單,請參閱 AWSSupport-TroubleshootAPIGatewayCustomDomainConfig。
  7. 自動化完成後,請在 Outputs (輸出) 區段中檢閱詳細結果。
    如果執行手冊檢查成功執行,則輸出會包含自訂網域名稱的組態詳細資料。
    如果自訂網域名稱的組態未通過執行手冊的其中一項檢查,則執行手冊會在該步驟失敗。若要對執行手冊失敗進行疑難排解,請使用執行手冊輸出中的疑難排解建議。

相關資訊

Run an automated operation powered by Systems Manager Automation (執行由 Systems Manager Automation 提供支援的自動化作業)

Setting up Automation (設定 Automation)

Systems Manager Automation Runbook Reference (Systems Manager Automation 執行手冊參考資料)