All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::EdsUser::User

Last Updated:Mar 28, 2026

ALIYUN::EdsUser::User is used to create a convenience user.

Syntax

{
  "Type": "ALIYUN::EdsUser::User",
  "Properties": {
    "OrgId": String,
    "OwnerType": String,
    "EndUserId": String,
    "Email": String,
    "Phone": String,
    "Remark": String,
    "Password": String,
    "PasswordExpireDays": String,
    "AutoLockTime": String,
    "BusinessChannel": String,
    "IsLocalAdmin": Boolean,
    "RealNickName": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

AutoLockTime

String

No

No

The date when the user account is automatically locked.

None

BusinessChannel

String

No

No

The business channel.

None

IsLocalAdmin

Boolean

No

No

Specifies whether to set the convenience user as a local administrator.

None

PasswordExpireDays

String

No

No

The number of days until the password of the convenience user expires. If this property is not set, the password never expires.

The value must be between 30 and 365. After the password expires, the end user must change it to log in.

RealNickName

String

No

No

OrgId

String

No

No

The organization to which the convenience user belongs.

None.

OwnerType

String

No

No

The type of the account ownership.

Valid values:

  • Normal: user-activated

  • CreateFromManager: administrator-activated

EndUserId

String

Yes

No

The name of the convenience user.

The name must be 3 to 24 characters in length, and can contain lowercase letters, digits, and underscores (_).

Email

String

No

Yes

The email address of the convenience user.

The email address is used to receive notifications about events such as desktop assignment. You must specify one of Email and Phone.

Phone

String

No

Yes

The mobile number of the convenience user.

The mobile number is used to receive text messages about events such as desktop assignment. You must specify one of Email and Phone.

Remark

String

No

No

The remarks on the convenience user.

None.

Password

String

No

No

The password.

None.

Return values

Fn::GetAtt

EndUserId: The name of the convenience user.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  EndUserId:
    Type: String
    Description: The user name. Must be 3 to 24 characters long and contain only lowercase letters, digits, and underscores (_).
    Default: test123
  Phone:
    Type: String
    Description: The user's phone number. Note: Phone numbers are not supported on the international site (alibabacloud.com).
    Default: '********'
Resources:
  User:
    Type: ALIYUN::EdsUser::User
    Properties:
      EndUserId:
        Ref: EndUserId
      Phone:
        Ref: Phone
Outputs:
  EndUserId:
    Description: The user name of the created convenience user.
    Value:
      Fn::GetAtt:
        - User
        - EndUserId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "EndUserId": {
      "Type": "String",
      "Description": "The user name. Must be 3 to 24 characters long and contain only lowercase letters, digits, and underscores (_).",
      "Default": "test123"
    },
    "Phone": {
      "Type": "String",
      "Description": "The user's phone number. Note: Phone numbers are not supported on the international site (alibabacloud.com).",
      "Default": "********"
    }
  },
  "Resources": {
    "User": {
      "Type": "ALIYUN::EdsUser::User",
      "Properties": {
        "EndUserId": {
          "Ref": "EndUserId"
        },
        "Phone": {
          "Ref": "Phone"
        }
      }
    }
  },
  "Outputs": {
    "EndUserId": {
      "Description": "The user name of the created convenience user.",
      "Value": {
        "Fn::GetAtt": [
          "User",
          "EndUserId"
        ]
      }
    }
  }
}