edit-icon download-icon

ALIYUN::RAM::UserToGroupAddition

Last Updated: Jun 13, 2018

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

Syntax

  1. {
  2. "Type" : "ALIYUN::RAM::UserToGroupAddition",
  3. "Properties" : {
  4. "GroupName" : String,
  5. "Users" : List
  6. }
  7. }

Attributes

Attribute name Type Required Description Constraint
GroupName string Yes Group name The group name is a string of 1 to 64 characters including English letters, digits, and hyphens(-).
Users list No User name N/A

Return values

None

Example

  1. {
  2. "ROSTemplateFormatVersion" : "2015-09-01",
  3. "Resources" : {
  4. "RamUserToGroup": {
  5. "Type": "ALIYUN::RAM::UserToGroupAddition",
  6. "Properties": {
  7. "GroupName": "hope",
  8. "Users": ["hope"]
  9. }
  10. }
  11. },
  12. "Outputs": {
  13. "GroupName": {
  14. "Value" : {"Fn::GetAtt": ["RamGroup", "GroupName"]}
  15. }
  16. }
  17. }
Thank you! We've received your feedback.