View a markdown version of this page

第 1 步:创建 Amazon Config 连接器 - Amazon Systems Manager
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

第 1 步:创建 Amazon Config 连接器

Amazon Config 连接器可设置 Amazon 和 Azure 之间的凭证交换,并使 Amazon Config 能够记录 Azure 资源状态。在创建 Systems Manager 云连接器之前,必须先创建该连接器。

注意

Amazon Config 连接器会自动创建用于联合身份验证的服务相关角色。您无需为此步骤创建单独的 IAM 角色。

创建适用于 Azure 的 Amazon Config 连接器
  1. 创建 Amazon Config 连接器。请将 TENANT_ID 替换为您的 Azure 租户 ID,并将 CLIENT_ID 替换为您为 Amazon Config 创建的 Azure AD 应用程序的应用程序(客户端)ID。

    aws configservice put-connector \ --connector-configuration '{ "azure": { "tenantIdentifier": "TENANT_ID", "clientIdentifier": "CLIENT_ID" } }'

    请注意回复中的 Arn,您将下一步中需要它。

  2. 确认连接器已创建:

    aws configservice list-connectors