

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# を使用した組織単位 (OU) の詳細の表示 AWS Organizations
<a name="orgs_view_ou"></a>

[AWS Organizations コンソール](https://console.aws.amazon.com/organizations/v2)で組織の管理アカウントにサインインすると、組織の OU の詳細を表示できます。

**最小アクセス許可**  
組織単位 (OU) の詳細を表示するには、次のアクセス権限が必要です。  
`organizations:DescribeOrganizationalUnit`
`organizations:DescribeOrganization` - Organizations コンソールを使用する場合にのみ必要
`organizations:ListOrganizationsUnitsForParent` - Organizations コンソールを使用する場合にのみ必要
`organizations:ListRoots` - Organizations コンソールを使用する場合にのみ必要

------
#### [ AWS マネジメントコンソール ]<a name="view_details_ou_v2"></a>

**OU の詳細を表示するには**

1. [AWS Organizations コンソール](https://console.aws.amazon.com/organizations/v2)にサインインします。組織の管理アカウントで、IAM ユーザーとしてサインインするか、IAM ロールを引き受けるか、あるいはルートユーザーとしてサインイン ([推奨されません](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#lock-away-credentials)) する必要があります。

1. **[AWS アカウント](https://console.aws.amazon.com/organizations/v2/home/accounts)** ページで、調べたい OU の名前 (ラジオボタンではなく) を選択します。目的の OU が別の OU の子 OU である場合は、親 OU の横にある三角形のアイコンを選択して展開すると、次の階層に子 OU が表示されます。目的の OU が表示されるまで繰り返します。

   [**Organizational unit details**] (組織単位の詳細) ボックスに、OU に関する情報が表示されます。

------
#### [ AWS CLI & AWS SDKs ]

**OU の詳細を表示するには**  
次のいずれかのコマンドを使用して、OU の詳細を表示できます。
+ AWS CLI、 AWS SDKs: 
  + [list-roots](https://docs.aws.amazon.com/cli/latest/reference/organizations/list-roots.html) 
  + [list-children](https://docs.aws.amazon.com/cli/latest/reference/organizations/list-children.html) 
  + [describe-organizational-unit](https://docs.aws.amazon.com/cli/latest/reference/organizations/describe-organizational-unit.html) 

  次の例は、 AWS CLIを使用して OU の ID を見つける方法を示しています。OU ID を見つけるには、階層をトラバースします。はじめに `list-roots` コマンドを実行します。次に、`list-children` をまずルートで実行し、その後は子 OU で、目的の OU ID が見つかるまで繰り返し実行します。

  ```
  $ aws organizations list-roots
  {
      "Roots": [
          {
              "Id": "r-a1b2",
              "Arn": "arn:aws:organizations::123456789012:root/o-aa111bb222/r-a1b2",
              "Name": "Root",
              "PolicyTypes": []
          }
      ]
  }
  $ aws organizations list-children --parent-id r-a1b2 --child-type ORGANIZATIONAL_UNIT
  {
      "Children": [
          {
              "Id": "ou-a1b2-f6g7h111",
              "Type": "ORGANIZATIONAL_UNIT"
          }
      ]
  }
  ```

  次の例は、OU の ID を見つけた後に、OU の詳細を取得する方法を示しています。

  ```
  $ aws organizations describe-organizational-unit --organizational-unit-id ou-a1b2-f6g7h111
  {
      "OrganizationalUnit": {
          "Id": "ou-a1b2-f6g7h111",
          "Arn": "arn:aws:organizations::123456789012:ou/o-aa111bb222/ou-a1b2-f6g7h111",
          "Name": "Production-Apps",
          "Path": "o-aa111bb222/r-a1b2/ou-a1b2-f6g7h111/"
      }
  }
  ```
+ AWS SDKs:
  +  [ListRoots](https://docs.aws.amazon.com/organizations/latest/APIReference/API_ListRoots.html)
  +  [ListChildren](https://docs.aws.amazon.com/organizations/latest/APIReference/API_ListChildren.html)
  +  [DescribeOrganizationalUnit](https://docs.aws.amazon.com/organizations/latest/APIReference/API_DescribeOrganizationalUnit.html)

------