organizational_unit
Gets an individual organizational_unit
resource
Overview
Name | organizational_unit |
Type | Resource |
Description | organizational_unit |
Id | awscc.organizations.organizational_unit |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | The Amazon Resource Name (ARN) of this OU. |
id | string | The unique identifier (ID) associated with this OU. |
name | string | The friendly name of this OU. |
parent_id | string | The unique identifier (ID) of the parent root or OU that you want to create the new OU in. |
tags | array | A list of tags that you want to attach to the newly created OU. |
region | string | AWS 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