本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
在聊天應用程式中與 Amazon Q Developer 聊天
您可以在 Microsoft Teams和聊天應用程式中與 Amazon Q Developer Slack聊天。在設定的管道中,Amazon Q 可以回答有關建置解決方案、疑難排解問題和識別後續步驟的最佳實務的問題。下列 Amazon Q 聊天功能可用於設定的聊天應用程式:
如需有關在聊天應用程式中使用 Amazon Q 時可用之完整功能的詳細資訊,請參閱《聊天應用程式管理員指南》中的 Amazon Q 開發人員是什麼?。
注意
當您在聊天應用程式中使用 Amazon Q Developer 時,存取權僅限於 Amazon Q Developer 免費方案。
在頻道中啟用 Amazon Q 聊天
若要將聊天功能新增至已使用 Amazon Q Developer 設定的 Microsoft Teams或 Slack頻道,請完成下列步驟。若要第一次在聊天應用程式中設定 Amazon Q Developer,並允許使用者與 Amazon Q 聊天,請參閱《聊天應用程式管理員指南》中的 Microsoft TeamsAmazon Q Developer 入門和 入門Slack。
您必須先將 Amazon Q 新增至Slack頻道,才能從 Microsoft Teams或 頻道詢問 Amazon Q 問題。首先,更新您的 AWS Identity and Access Management (IAM) 角色設定以包含 AmazonQDeveloperAccess受管政策,然後將政策新增為頻道護欄。如果您需要管理員存取權,請改為新增AmazonQFullAccess政策。
-
將
AmazonQDeveloperAccess
受管政策新增至您的 IAM 角色:-
登入 AWS Management Console 並開啟 IAM 主控台
。 -
在 IAM 主控台的導覽窗格中,選擇角色。
-
選擇要查看的角色名稱。
-
在許可政策中,選擇新增許可和連接政策。
-
在搜尋
AmazonQDeveloperAccess
中輸入 。 -
選取 AmazonQDeveloperAccess。
-
選擇新增許可。
-
-
將
AmazonQDeveloperAccess
受管政策新增至您的頻道護欄:-
選擇已設定的用戶端。
-
選取設定的頻道。
-
選擇設定護欄。
-
在搜尋
AmazonQDeveloperAccess
中輸入 。 -
選取 AmazonQDeveloperAccess。
-
選擇儲存。
在頻道中詢問 Amazon Q 問題
若要檢查您的組態是否成功,請向 Amazon Q 提出問題。輸入 @Amazon Q
,然後輸入您的問題。
以下是您可以從設定管道向 Amazon Q 詢問的一些問題範例:
-
@Amazon Q how do I troubleshoot lambda concurrency issues?
-
@Amazon Q what are the best practices for securing S3 buckets?
-
@Amazon Q what is the maximum zipped file size for a lambda?
-
@Amazon Q get the configuration for my lambda function
name
? -
@Amazon Q what is the size of the auto scaling group
name
in us-east-2? -
@Amazon Q can you show ec2 instances running in us-east-1?