Skip to main content

organizational_units

Retrieves a list of organizational_units in a region

Overview

Nameorganizational_units
TypeResource
Descriptionorganizational_units
Idawscc.organizations.organizational_units

Fields

NameDatatypeDescription
idstringThe unique identifier (ID) associated with this OU.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id
FROM awscc.organizations.organizational_units
WHERE region = 'us-east-1'

Permissions

To operate on the organizational_units resource, the following permissions are required:

Create

organizations:CreateOrganizationalUnit,
organizations:DescribeOrganizationalUnit,
organizations:ListParents,
organizations:ListTagsForResource,
organizations:TagResource

List

organizations:ListOrganizationalUnitsForParent