Skip to main content

organizational_unit

Gets an individual organizational_unit resource

Overview

Nameorganizational_unit
TypeResource
Descriptionorganizational_unit
Idawscc.organizations.organizational_unit

Fields

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of this OU.
idstringThe unique identifier (ID) associated with this OU.
namestringThe friendly name of this OU.
parent_idstringThe unique identifier (ID) of the parent root or OU that you want to create the new OU in.
tagsarrayA list of tags that you want to attach to the newly created OU.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
arn,
id,
name,
parent_id,
tags
FROM awscc.organizations.organizational_unit
WHERE data__Identifier = '<Id>';

Permissions

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

Read

organizations:DescribeOrganizationalUnit,
organizations:ListParents,
organizations:ListTagsForResource

Update

organizations:DescribeOrganizationalUnit,
organizations:ListParents,
organizations:ListTagsForResource,
organizations:TagResource,
organizations:UntagResource,
organizations:UpdateOrganizationalUnit

Delete

organizations:DeleteOrganizationalUnit