ALIYUN::RAM::UserToGroupAddition adds the specified Resource Access Management (RAM) users to the specified RAM group.
Syntax
{
"Type": "ALIYUN::RAM::UserToGroupAddition",
"Properties": {
"GroupName": String,
"Users": List
}
}Properties
| Property | Type | Required | Update allowed | Description | Constraints |
| GroupName | String | Yes | No | The name of the group. | The name must be 1 to 64 characters in length and can contain letters, digits, and hyphens (-). |
| Users | List | Yes | No | Enter the username. | None. |
Return values
Fn::GetAtt
None.
Examples
JSONformat{ "ROSTemplateFormatVersion": "2015-09-01", "Resources": { "RamUserToGroup": { "Type": "ALIYUN::RAM::UserToGroupAddition", "Properties": { "GroupName": "hope", "Users": ["hope"] } } }, "Outputs": { "GroupName": { "Value": {"Fn::GetAtt": ["RamUserToGroup", "GroupName"]} } } }
该文章对您有帮助吗?