ALIYUN::DFS::AccessGroup is used to create a permission group.
Syntax
{
"Type": "ALIYUN::DFS::AccessGroup",
"Properties": {
"Description": String,
"NetworkType": String,
"AccessGroupName": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
Description | String | No | Yes | The description of the permission group. | None. |
NetworkType | String | No | No | The type of the permission group. | Valid values:
|
AccessGroupName | String | No | Yes | The name of the permission group. | None. |
Return values
Fn::GetAtt
AccessGroupId: the ID of the permission group.
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "AccessGroupName": { "Type": "String", "Description": "The Name of Access Group. The naming rules are as follows:\nThe value contains 6 to 100 characters.\nGlobally unique and cannot be an empty string.", "MinLength": 6, "MaxLength": 100 } }, "Resources": { "AccessGroup": { "Type": "ALIYUN::DFS::AccessGroup", "Properties": { "AccessGroupName": { "Ref": "AccessGroupName" } } } }, "Outputs": { "AccessGroupId": { "Description": "The ID of the access_group.", "Value": { "Fn::GetAtt": [ "AccessGroup", "AccessGroupId" ] } } } }