ALIYUN::VPC::PeeringRouterInterfaceBinding is used to associate two router interfaces to be interconnected.

Statement

{
  "Type": "ALIYUN::VPC::PeeringRouterInterfaceBinding",
  "Properties": {
    "OppositeRouterId": String,
    "OppositeInterfaceId": String,
    "OppositeInterfaceOwnerId": String,
    "RouterInterfaceId": String
  }
}

Properties

Parameter Type Required Editable Description Constraint
RouterInterfaceId String No No The ID of the router interface. None
OppositeInterfaceId String No No The ID of the peer router interface. None
OppositeRouterId String Yes Released The ID of the router to which the peer router interface belongs. None
OppositeInterfaceOwnerId String Yes Released The ID of the owner of the peer router interface. None

Response parameters

Fn::GetAtt

RouterInterfaceId: the ID of the vRouter.

Sample request

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "InitiatorRouterInterfaceBinding": {
      "Type": "ALIYUN::VPC::PeeringRouterInterfaceBinding",
      "Properties": {
        "RouterInterfaceId": "ri-2zedgo0ih64g1me29****",
        "OppositeInterfaceId": "ri-2zex1tkyym98pjaor****",
        "OppositeRouterId": "vrt-2zexb35tzoriu0286****"
      }
    }
  }
}