

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

# 停用組織檢視
<a name="disable-organizational-view"></a>

如果您不想彙總組織的事件，您可以從管理帳戶關閉此功能，也可以使用 [DisableHealthServiceAccessForOrganization](https://docs.aws.amazon.com/health/latest/APIReference/API_DisableHealthServiceAccessForOrganization.html) API 操作來停用組織檢視。

------
#### [ Disabling organizational view events (Console) ]

AWS Health 會停止彙總組織中所有其他帳戶的事件。您可以繼續檢視組織中先前的事件，直到刪除為止。

**停用組織檢視**

1. 在 https：//[https://health.aws.amazon.com/health/home](https://health.aws.amazon.com/health/) 開啟您的 AWS Health 儀表板。

1. 在導覽窗格**的組織運作**狀態下，選擇**組態**。

1. 在**啟用組織檢視**頁面上，選擇**停用組織檢視**。

關閉此功能後， AWS Health 不會再彙總組織中的事件。不過，服務連結角色會保留在管理帳戶中，直到您透過 AWS Identity and Access Management (IAM) 主控台、IAM API 或 AWS Command Line Interface () 將其刪除為止AWS CLI。如需詳細資訊，請參閱《*IAM 使用者指南*》中的[刪除服務連結角色](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#delete-service-linked-role)。

------
#### [ Disabling organizational view events (CLI) ]

**Example**  
下列 AWS CLI 命令會從您的帳戶停用此功能。  

```
aws health disable-health-service-access-for-organization --region us-east-1
```

**注意**  
您也可以使用 Organizations [DisableAWSServiceAccess](https://docs.aws.amazon.com/organizations/latest/APIReference/API_DisableAWSServiceAccess.html) API 操作來停用組織功能。呼叫此操作之後， 會 AWS Health 停止彙總組織中所有其他帳戶的事件。如果您呼叫組織檢視的 AWS Health API 操作， 會 AWS Health 傳回錯誤。 AWS Health 會繼續彙總您 AWS 帳戶的運作狀態事件。

 停用此功能後， AWS Health 不會再彙總組織中的事件。不過，服務連結角色會保留在管理帳戶中，直到您透過 AWS Identity and Access Management (IAM) 主控台、IAM API 或 將其刪除為止 AWS CLI。如需詳細資訊，請參閱[《IAM 使用者指南》中的刪除服務連結角色](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#delete-service-linked-role)。 **

------