SCP::Organization::OrganizationUnit
SCP::Organization::OrganizationUnit
SCP::Organization::OrganizationUnit
Description
An Organizational Unit resource of the SCP organization service that groups accounts to manage them centrally.
Version
1.3.0
Syntax
To declare this entity in your Infrastructure Builder template, use the following syntax:
JSON
{
"Type" : "SCP::Organization::OrganizationUnit",
"Properties" : {
"Name" : "String",
"Description" : "String",
"OrganizationId" : "String",
"ParentUnitId" : "String",
"PolicyIds" : [String]
}
}
YAML
Type: SCP::Organization::OrganizationUnit
Properties:
Name: String
Description: String
OrganizationId: String
ParentUnitId: String
PolicyIds: [String]
Properties
Name
The name of the organization unit. It identifies the organization unit within the organization. - minLength : 1 - maxLength : 128 - whitespace-only names are rejected - a duplicated name under the same parent unit is rejected (400)
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Pattern | ^.*\S.*$ |
| Length constraints | 1–128 |
| Update requires | No interruption |
Description
The description of the organization unit. This helps identify the purpose or usage of the organization unit. - maxLength : 1000
| Attribute | Value |
|---|---|
| Required | No |
| Type | String |
| Length constraints | Max: 1000 |
| Update requires | No interruption |
OrganizationId
The identifier of the organization that the organization unit belongs to.
| Attribute | Value |
|---|---|
| Required | No |
| Type | String |
| Update requires | Replacement |
ParentUnitId
The identifier of the parent organization unit.
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Update requires | Replacement |
PolicyIds
The list of Service Control Policy IDs to apply to the organization unit. An empty list attaches the organization admin policy automatically. Nonexistent policy IDs are rejected (404). Changing them after creation replaces the unit (forceNew).
| Attribute | Value |
|---|---|
| Required | No |
| Type | Array of String |
| Update requires | Replacement |
Return Values
Ref
When you pass the logical ID of this resource to the Ref function, Ref returns the value of the Id.
Fn::GetAtt
| Attribute | Description |
|---|---|
| Name | The name of the organization unit. It identifies the organization unit within the organization. - minLength : 1 - maxLength : 128 - whitespace-only names are rejected - a duplicated name under the same parent unit is rejected (400) |
| Description | The description of the organization unit. This helps identify the purpose or usage of the organization unit. - maxLength : 1000 |
| OrganizationId | The identifier of the organization that the organization unit belongs to. |
| ParentUnitId | The identifier of the parent organization unit. |
| PolicyIds | The list of Service Control Policy IDs to apply to the organization unit. An empty list attaches the organization admin policy automatically. Nonexistent policy IDs are rejected (404). Changing them after creation replaces the unit (forceNew). |
| Resources | The list of accounts and organization units under this organization unit. |