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

AttributeValue
RequiredYes
TypeString
Pattern^[A-Za-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$
Length constraintsMax: 60
Update requiresReplacement

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)

AttributeValue
RequiredYes
TypeString
Pattern^[a-zA-Z0-9ㄱ-ㅎㅏ-ㅣ가-힣 \+=_\-@\[\]\(\)\.,]*$
Length constraints3–30
Update requiresReplacement

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

AttributeValue
RequiredYes
TypeString
Update requiresReplacement

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)

AttributeValue
RequiredYes
TypeString
Pattern^[a-zA-Z0-9\+=,\.@_\-ㄱ-ㅎㅏ-ㅣ가-힣 ]*$
Length constraints1–64
Update requiresReplacement

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

AttributeValue
RequiredNo
TypeString
Update requiresNo 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

AttributeDescription
LoginIdThe 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).
NameThe 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)
OrganizationIdThe 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).
RoleNameThe 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)
ParentUnitIdThe 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).
AccountIdThe identifier of the account.
ControlPoliciesThe control policies applied to the account.
CreatorNameThe name of the user who created the account.
EmailThe email address of the account.
JoinedMethodThe method by which the account joined the organization.
JoinedTimeThe timestamp when the account joined the organization.
ModifierNameThe name of the user who last modified the account.
ParentUnitNameThe name of the parent organization unit of the account.
SrnThe SCP Resource Name (SRN) of the account.
StateThe current state of the account.
TypeThe type of the account.