organizational_units
Retrieves a list of organizational_units
in a region
Overview
Name | organizational_units |
Type | Resource |
Description | organizational_units |
Id | awscc.organizations.organizational_units |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The unique identifier (ID) associated with this OU. |
region | string | AWS 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