ALIYUN::NAS::MountTarget is used to create a mount point.
Syntax
{
"Type": "ALIYUN::NAS::MountTarget",
"Properties": {
"Status": String,
"VpcId": String,
"FileSystemId": String,
"VSwitchId": String,
"NetworkType": String,
"AccessGroupName": String
}
}
Properties
Name | Type | Required | Editable | Description | Validity |
---|---|---|---|---|---|
Status | String | No | Yes | The status of a file system. | Valid values: Active and Inactive. |
VpcId | String | No | No | The ID of the VPC to which the file system belongs. | None |
FileSystemId | String | Yes | No | The ID of the file system. | None |
VSwitchId | String | No | No | The ID of the vSwitch in the VPC. | None |
NetworkType | String | Yes | No | The network type. | Valid values: VPC and Classic. |
AccessGroupName | String | Yes | Yes | The permission group name. | None |
Response parameters
FN::GetAtt
MountTargetDomain: the domain name of the mount point.
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "VpcId": { "Type": "String", "AssociationProperty": "ALIYUN::ECS::VPC::VPCId" }, "VSwitchId": { "Type": "String", "AssociationProperty": "ALIYUN::ECS::VSwitch::VSwitchId", "AssociationPropertyMetadata": { "VpcId": "${VpcId}" } }, "FileSystemId": { "Type": "String", "Description": "File system ID" } }, "Resources": { "MountTarget": { "Type": "ALIYUN::NAS::MountTarget", "Properties": { "Status": "Active", "VpcId": { "Ref": "VpcId" }, "FileSystemId": { "Ref": "FileSystemId" }, "VSwitchId": { "Ref": "VSwitchId" }, "NetworkType": "Vpc", "AccessGroupName": "TestAccessGroup" } } }, "Outputs": { } }