AWS::Organizations::OrganizationalUnitYou can use organizational units (OUs) to group accounts together to administer as a single unit. This greatly simplifies the management of your accounts. For example, you can attach a policy-based control to an OU, and all accounts within the OU automatically inherit the policy. You can create multiple OUs within a single organization, and you can create OUs within other OUs. Each OU can contain multiple accounts, and you can move accounts from one OU to another. However, OU names must be un...
3 configurable properties. 2 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Name | string | Required |
ParentId | string | RequiredCreate-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Arn | string | The Amazon Resource Name (ARN) of this OU. |
Id | string | The unique identifier (ID) associated with this OU. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Organizations::OrganizationalUnit
Resources:
MyResource:
Type: AWS::Organizations::OrganizationalUnit
Properties:
Name: "my-name"
ParentId: "my-parentid"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
organizations:CreateOrganizationalUnitorganizations:DescribeOrganizationalUnitorganizations:ListParentsorganizations:ListOrganizationalUnitsForParentorganizations:ListTagsForResourceorganizations:TagResourceorganizations:DescribeOrganizationalUnitorganizations:ListParentsorganizations:ListTagsForResourceorganizations:DescribeOrganizationalUnitorganizations:ListParentsorganizations:ListTagsForResourceorganizations:TagResourceorganizations:UntagResourceorganizations:UpdateOrganizationalUnitorganizations:DeleteOrganizationalUnitorganizations:ListOrganizationalUnitsForParentOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ParentId