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

PropertyTypeRequiredEditableDescriptionConstraint
AccessGroupTypeStringYesNoThe type of the permission group. Valid values: VPC and Classic.
AccessGroupNameStringYesNoThe 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 (-).
DescriptionStringNoYesThe description of the permission group. By default, the description is the same as the permission group name. None.
FileSystemTypeStringNoNoThe 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

  • YAMLformat

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters: {}
    Resources:
      AccessGroup:
        Type: ALIYUN::NAS::AccessGroup
        Properties:
          AccessGroupType: Vpc
          AccessGroupName: TestAccessGroup
    Outputs:
      AccessGroupName:
        Description: Permission group name
        Value:
          Fn::GetAtt:
            - AccessGroup
            - AccessGroupName                    
  • JSON

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
      },
      "Resources": {
        "AccessGroup": {
          "Type": "ALIYUN::NAS::AccessGroup",
          "Properties": {
            "AccessGroupType": "Vpc",
            "AccessGroupName": "TestAccessGroup"
          }
        }
      },
      "Outputs": {
        "AccessGroupName": {
          "Description": "Permission group name",
          "Value": {
            "Fn::GetAtt": [
              "AccessGroup",
              "AccessGroupName"
            ]
          }
        }
      }
    }