ALIYUN::NAS::AccessGroup is used to create a permission group.

Syntax

{
  "Type": "ALIYUN::NAS::AccessGroup",
  "Properties": {
    "AccessGroupType": String,
    "AccessGroupName": String,
    "Description": String,
    "FileSystemType": String
  }
}

Properties

Property Type Required Editable Description Constraint
AccessGroupType String Yes No The type of the permission group. Valid values: VPC and Classic.
AccessGroupName String Yes No The name of the permission group. The name must be 3 to 64 characters in length. The name must start with a letter, digit, or hyphen (-).
Description String No Yes The description of the permission group. By default, the description is the same as the permission group name. None.
FileSystemType String No No The type of the file system. Default value: standard. Valid values:
  • standard: General-purpose NAS file system
  • extreme: Extreme NAS file system
  • cpfs: Cloud Paralleled File System (CPFS) file system

Return values

Fn::GetAtt

AccessGroupName: the name of the permission group.

Examples

  • JSON format
    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Resources": {
        "AccessGroup": {
          "Type": "ALIYUN::NAS::AccessGroup",
          "Properties": {
            "AccessGroupType": {
              "Ref": "AccessGroupType"
            },
            "AccessGroupName": {
              "Ref": "AccessGroupName"
            },
            "Description": {
              "Ref": "Description"
            }
          }
        }
      },
      "Parameters": {
        "AccessGroupType": {
          "Type": "String",
          "Description": "Permission group type, including the Vpc and Classic types",
          "AllowedValues": ["Vpc", "Classic"]
        },
        "AccessGroupName": {
          "AllowedPattern": "^[a-zA-Z0-9-]{3,64}$",
          "Type": "String",
          "Description": "Permission group name"
        },
        "Description": {
          "Type": "String",
          "Description": "Permission group description. It is the same as the permission group name by default."
        }
      },
      "Outputs": {
        "AccessGroupName": {
          "Description": "Permission group name",
          "Value": {
            "Fn::GetAtt": ["AccessGroup", "AccessGroupName"]
          }
        }
      }
    }
  • YAML format
    ROSTemplateFormatVersion: '2015-09-01'
    Resources:
      AccessGroup:
        Type: ALIYUN::NAS::AccessGroup
        Properties:
          AccessGroupType:
            Ref: AccessGroupType
          AccessGroupName:
            Ref: AccessGroupName
          Description:
            Ref: Description
    Parameters:
      AccessGroupType:
        Type: String
        Description: Permission group type, including the Vpc and Classic types
        AllowedValues:
          - Vpc
          - Classic
      AccessGroupName:
        AllowedPattern: ^[a-zA-Z0-9-]{3,64}$
        Type: String
        Description: Permission group name
      Description:
        Type: String
        Description: Permission group description. It is the same as the permission group name by default.
    Outputs:
      AccessGroupName:
        Description: Permission group name
        Value:
          Fn::GetAtt:
            - AccessGroup
            - AccessGroupName