ALIYUN::DFS::AccessGroup类型用于创建权限组信息。
语法
{
  "Type": "ALIYUN::DFS::AccessGroup",
  "Properties": {
    "Description": String,
    "NetworkType": String,
    "AccessGroupName": String
  }
}属性
| 属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 | 
| Description | String | 否 | 是 | 权限组描述。 | 无 | 
| NetworkType | String | 否 | 否 | 权限组类型。 | 取值: 
 | 
| AccessGroupName | String | 否 | 是 | 权限组名称。 | 无 | 
返回值
Fn::GetAtt
AccessGroupId:权限组ID。
示例
- JSON格式- { "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" ] } } } }
该文章对您有帮助吗?