

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 授權資產群組報告
<a name="license-asset-group-reports"></a>

授權資產群組報告提供隨需、全面的報告，以涵蓋組織內多個 AWS 區域和帳戶的軟體授權合規。這些報告提供探索並映射至授權資產群組之所有資源的詳細清查。

**建立授權資產群組報告**

1. 在 https：//[https://console.aws.amazon.com/license-manager/](https://console.aws.amazon.com/license-manager/) 開啟 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` 參數。