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)

AttributeValue
RequiredYes
TypeString
Pattern^.*\S.*$
Length constraints1–128
Update requiresNo interruption

Description

The description of the organization unit. This helps identify the purpose or usage of the organization unit. - maxLength : 1000

AttributeValue
RequiredNo
TypeString
Length constraintsMax: 1000
Update requiresNo interruption

OrganizationId

The identifier of the organization that the organization unit belongs to.

AttributeValue
RequiredNo
TypeString
Update requiresReplacement

ParentUnitId

The identifier of the parent organization unit.

AttributeValue
RequiredYes
TypeString
Update requiresReplacement

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).

AttributeValue
RequiredNo
TypeArray of String
Update requiresReplacement

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

AttributeDescription
NameThe 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)
DescriptionThe description of the organization unit. This helps identify the purpose or usage of the organization unit. - maxLength : 1000
OrganizationIdThe identifier of the organization that the organization unit belongs to.
ParentUnitIdThe identifier of the parent organization unit.
PolicyIdsThe 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).
ResourcesThe list of accounts and organization units under this organization unit.