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

Syntax

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

Properties

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

Response parameters

Fn::GetAtt

RouterInterfaceId: the ID of the router interface.

Examples

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