

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

# 分佈 License Manager 權限
<a name="distribute-entitlement"></a>

如果您是在組織管理帳戶中操作的授權管理員，且已啟用[所有功能](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html)，您可以透過建立授予的授權，將權利分配到組織。如需 的詳細資訊 AWS Organizations，請參閱[AWS Organizations 術語和概念](https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html)。

您可以將授予的收件人指定為下列其中一項：
+  AWS 帳戶，只包含指定的帳戶。
+ 組織根目錄，其中包含整個組織的所有帳戶。
+ 組織單位 (OU) （未巢狀），其中包含指定 OU 和指定 OUs 下巢狀 OU 中的所有帳戶。

**注意**  
每個授權最多可以建立 2，000 個授權。

您可以使用 AWS License Manager 主控台或 AWS CLI 來分配您的權利。您可以在主控台中建立授予時指定組織 ID 或組織 ARN，但 ARN 格式必須與 搭配使用 AWS CLI。例如，ARNs 類似以下內容：

**組織 ID ARN**  
`arn:aws:organizations::{{<account-id-of-management-account>}}:organization/o-{{<organization-id>}}`

**Organization OU ARN**  
`arn:aws:organizations::{{<account-id-of-management-account>}}:ou/o-{{<organization-id>}}/ou-{{<organizational-unit-id>}}`

------
#### [ Console ]

**建立授予 （主控台）**

1. 在 https：//[https://console.aws.amazon.com/license-manager/](https://console.aws.amazon.com/license-manager/) 開啟 License Manager 主控台。

1. 在導覽窗格中，選擇**授予的授權**。

1. 選擇授權 ID 以開啟**授權概觀**頁面。

1. 從**授予**區段中，選擇**建立授予**。

1. 在**授予詳細資訊**面板上，執行下列動作：

   1. 輸入授予的名稱，以協助您識別授予的目的或收件人。

   1. 輸入授予收件人的 AWS 帳戶 ID、 AWS Organizations OU ID 或 ARN，或 AWS Organizations ID 或 ARN。

   1. 選擇**建立授予**。

1. 在**授權概觀**頁面上，您會在授權面板中看到**授予**的項目。授予的初始狀態為**待接受**。當收件人接受授予或收件人**拒絕**授予時，狀態會變更為**作用中**。

------
#### [ AWS CLI ]

您可以使用 AWS CLI 來分發權利。使用 AWS License Manager API 時，您必須使用 ARN 格式的指定組織 ID 或 OU。

**若要使用 建立和列出您的授予 AWS CLI：**
+ [https://docs.aws.amazon.com/cli/latest/reference/license-manager/create-grant.html](https://docs.aws.amazon.com/cli/latest/reference/license-manager/create-grant.html)
+ [https://docs.aws.amazon.com/cli/latest/reference/license-manager/list-distributed-grants.html](https://docs.aws.amazon.com/cli/latest/reference/license-manager/list-distributed-grants.html)

------

授予詳細資訊頁面會顯示您已授予權利存取權的帳戶清單。將授權分發給組織後，您可以個別停用或啟用每個帳戶上的授權。