ALIYUN::ENS::Network is used to create a virtual private cloud (VPC).
Syntax
{
"Type": "ALIYUN::ENS::Network",
"Properties": {
"NetworkName": String,
"Description": String,
"CidrBlock": String,
"EnsRegionId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
NetworkName | String | No | Yes | The VPC name. | The name must meet the following requirements:
|
Description | String | No | Yes | The description. | The description must be 2 to 256 characters in length. It must start with a letter and cannot start with |
CidrBlock | String | Yes | No | The CIDR block of the VPC. | You can set the CIDR block of the VPC to one of the following CIDR blocks or their subnets:
|
EnsRegionId | String | Yes | No | The ID of the Edge Node Service (ENS) node. | None. |
Return values
Fn::GetAtt
NetworkId: the VPC ID.