SCP::Organization::Account
SCP::Organization::Account
SCP::Organization::Account
Description
An Account that belongs to the Organization. Accounts are placed under an organization unit to manage them centrally and control them with control policies.
Version
1.3.0
Syntax
To declare this entity in your Infrastructure Builder template, use the following syntax:
JSON
{
"Type" : "SCP::Organization::Account",
"Properties" : {
"LoginId" : "String",
"Name" : "String",
"OrganizationId" : "String",
"RoleName" : "String",
"ParentUnitId" : "String"
}
}
YAML
Type: SCP::Organization::Account
Properties:
LoginId: String
Name: String
OrganizationId: String
RoleName: String
ParentUnitId: String
Properties
LoginId
The login id (IAM user email) of the account. - maxLength : 60 - must be a valid email address - an already existing login id is rejected - uppercase letters are not allowed after the @ (the domain part must be lowercase).
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Pattern | ^[A-Za-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$ |
| Length constraints | Max: 60 |
| Update requires | Replacement |
Name
The name of the account, passed to IAM as the account name. - minLength : 3 - maxLength : 30 - pattern : ^[a-zA-Z0-9ㄱ-ㅎㅏ-ㅣ가-힣 +=_-@[]().,]*$ - changing it after creation replaces the account (forceNew)
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Pattern | ^[a-zA-Z0-9ㄱ-ㅎㅏ-ㅣ가-힣 \+=_\-@\[\]\(\)\.,]*$ |
| Length constraints | 3–30 |
| Update requires | Replacement |
OrganizationId
The identifier of the organization that the account belongs to. Required — only MANAGEMENT (management) accounts can create organization accounts. Changing it after creation replaces the account (forceNew).
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Update requires | Replacement |
RoleName
The role name of the account, passed to IAM as the IAM role name. - minLength : 1 - maxLength : 64 - pattern : ^[a-zA-Z0-9+=,.@_-ㄱ-ㅎㅏ-ㅣ가-힣 ]*$ - changing it after creation replaces the account (forceNew)
| Attribute | Value |
|---|---|
| Required | Yes |
| Type | String |
| Pattern | ^[a-zA-Z0-9\+=,\.@_\-ㄱ-ㅎㅏ-ㅣ가-힣 ]*$ |
| Length constraints | 1–64 |
| Update requires | Replacement |
ParentUnitId
The identifier of the organization unit to which the account belongs. Creation always places the account under the root unit (the API injects the root unit id). When specified, the account is moved to the unit on create, and on update a different unit triggers a move (move account API).
| Attribute | Value |
|---|---|
| Required | No |
| Type | String |
| Update requires | No interruption |
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 |
|---|---|
| LoginId | The login id (IAM user email) of the account. - maxLength : 60 - must be a valid email address - an already existing login id is rejected - uppercase letters are not allowed after the @ (the domain part must be lowercase). |
| Name | The name of the account, passed to IAM as the account name. - minLength : 3 - maxLength : 30 - pattern : ^[a-zA-Z0-9ㄱ-ㅎㅏ-ㅣ가-힣 +=_-@[]().,]*$ - changing it after creation replaces the account (forceNew) |
| OrganizationId | The identifier of the organization that the account belongs to. Required — only MANAGEMENT (management) accounts can create organization accounts. Changing it after creation replaces the account (forceNew). |
| RoleName | The role name of the account, passed to IAM as the IAM role name. - minLength : 1 - maxLength : 64 - pattern : ^[a-zA-Z0-9+=,.@_-ㄱ-ㅎㅏ-ㅣ가-힣 ]*$ - changing it after creation replaces the account (forceNew) |
| ParentUnitId | The identifier of the organization unit to which the account belongs. Creation always places the account under the root unit (the API injects the root unit id). When specified, the account is moved to the unit on create, and on update a different unit triggers a move (move account API). |
| AccountId | The identifier of the account. |
| ControlPolicies | The control policies applied to the account. |
| CreatorName | The name of the user who created the account. |
| The email address of the account. | |
| JoinedMethod | The method by which the account joined the organization. |
| JoinedTime | The timestamp when the account joined the organization. |
| ModifierName | The name of the user who last modified the account. |
| ParentUnitName | The name of the parent organization unit of the account. |
| Srn | The SCP Resource Name (SRN) of the account. |
| State | The current state of the account. |
| Type | The type of the account. |