

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 查看 Amazon Config 聚合器
<a name="aggregated-view"></a>

您可以使用 Amazon Config 控制台或 Amazon CLI 查看聚合器。

------
#### [ Viewing Aggregators (Console) ]

要在 Amazon Web Services 管理控制台中查看您的合规包，请参阅[聚合器控制面板](https://docs.amazonaws.cn/config/latest/developerguide/viewing-the-aggregate-dashboard.html)。

------
#### [ Viewing Aggregators (Amazon CLI) ]

1. 输入以下命令：

   ```
   aws configservice describe-configuration-aggregators
   ```

1. 根据您的源账户，您应该看到类似于以下内容的输出：

   **对于个人账户**

   ```
   {
       "ConfigurationAggregators": [
           {
               "ConfigurationAggregatorArn": "arn:aws:config:{{Region}}:{{AccountID}}:config-aggregator/config-aggregator-floqpus3",
               "CreationTime": 1517942461.442,
               "ConfigurationAggregatorName": "MyAggregator",
               "AccountAggregationSources": [
                   {
                       "AllAwsRegions": true,
                       "AccountIds": [
                           "AccountID1",
                           "AccountID2",
                           "AccountID3"
                       ]
                   }
               ],
               "LastUpdatedTime": 1517942461.455
           }
       ]
   }
   ```

   或

   **对于组织**

   ```
   {
       "ConfigurationAggregator": {
           "ConfigurationAggregatorArn": "arn:aws:config:{{Region}}:{{AccountID}}:config-aggregator/config-aggregator-floqpus3",
           "CreationTime": 1517942461.442,
           "ConfigurationAggregatorName": "MyAggregator",
           "OrganizationAggregationSource": {
                   "AllAwsRegions": true,
                   "RoleArn": "arn:aws:iam::{{account-of-role-to-assume}}:role/{{name-of-role}}"
            },
           "LastUpdatedTime": 1517942461.442
       }
   }
   ```

------