ALIYUN::RAM::UserToGroupAddition is used to add RAM users to a RAM group.

Syntax

{
  "Type": "ALIYUN::RAM::UserToGroupAddition",
  "Properties": {
    "GroupName": String,
    "Users": List
  }
}

Properties

Name Type Required Editable Description  Validity
GroupName String  Yes No The name of the RAM group. The name must be 1 to 64 characters in length and can contain letters, digits, and hyphens (-).
Users List Yes No The list of users to be added. None

Response parameters

None

Examples

{
  "ROSTemplateFormatVersion": "2015-09-01",
    "Resources": {
      "RamUserToGroup": {
        "Type": "ALIYUN::RAM::UserToGroupAddition",
          "Properties": {
            "GroupName": "hope",
              "Users": ["hope"]
          }
      }
    },
    "Outputs": {
        "GroupName": {
            "Value": {"Fn::GetAtt": ["RamGroup", "GroupName"]}
        }
    }
}