

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

# 许可证资产组报告
<a name="license-asset-group-reports"></a>

许可证资产组报告可按需提供全面的报告，说明组织内多个 AWS 地区和账户的软件许可证合规性。这些报告提供了已发现并映射到许可证资产组的所有资源的详细清单。

**创建许可证资产组报告**

1. 打开 License Manager 控制台，网址为[https://console.aws.amazon.com/license-manager/](https://console.aws.amazon.com/license-manager/)。

1. 从导航面板中选择 “**使用情况报告**”（在 “许可证分析” 下）。

1. 选择**创建许可证资产组报告**，然后定义参数：

   1. 输入报告的**名称**和可选**描述**。

   1. 从下拉列表中选择**许可证资产组**。

   1. 选择日期范围以列出该范围内的所有资源。

   1. （可选）添加**标签**以跟踪使用情况报告资源。

1. 选择**创建使用情况报告**。

**使用 CLI 创建许可证资产组报告**
+ 使用`create-license-manager-report-generator`命令生成具有特定时间范围的按需报告：

  ```
  aws license-manager create-license-manager-report-generator \
      --report-generator-name "License asset group Report" \
      --type LicenseAssetGroupReport \
      --report-context '{
        "licenseAssetGroupArns": [
          "arn:aws:license-manager:region:account:license-asset-group/group-id"
        ],
        "startTime": "2024-01-01T00:00:00Z",
        "endTime": "2024-01-31T23:59:59Z"
      }' \
      --client-token unique-token
  ```
**注意**  
许可证资产组报告是在指定时间范围内按需生成的，不支持定期计划。省略 `--report-frequency` 参数。