ALIYUN::PVTZ::ZoneVpcBinder is used to bind or unbind a private zone to or from a VPC.

Syntax

{
  "Type": "ALIYUN::PVTZ::ZoneVpcBinder",
  "Properties": {
    "Vpcs": List,
    "ZoneId": String
  }
}

Properties

Property Type Required Editable Description Constraint
Vpcs List Yes Yes The list of VPCs. A list can include a maximum of 10 VPCs.
ZoneId String Yes No The unique ID of the private zone. None

Vpcs syntax

"Vpcs": [
  {
    "VpcId": String,
    "RegionId": String
  }
]

Vpcs properties

Property Type Required Editable Description Constraint
VpcId String Yes No The ID of the VPC. None
RegionId String Yes No The ID of the region where the VPC resides. None

Response parameters

Fn::GetAtt

None

Examples

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "ZoneVpcBinder": {
      "Type": "ALIYUN::PVTZ::ZoneVpcBinder",
      "Properties": {
        "Vpcs": {
          "Fn::Split": [",", {
            "Ref": "Vpcs"
          }, {
            "Ref": "Vpcs"
          }]
        },
        "ZoneId": {
          "Ref": "ZoneId"
        }
      }
    }
  },
  "Parameters": {
    "Vpcs": {
      "MinLength": 0,
      "Type": "CommaDelimitedList",
      "Description": "",
      "MaxLength": 10
    },
    "ZoneId": {
      "Type": "String",
      "Description": "Zone Id"
    }
  },
  "Outputs": {}
}