ALIYUN::VPC::PeeringRouterInterfaceBinding 类型用于绑定将要互联的两个路由器接口信息。

语法

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

属性

属性名称 类型 必须 允许更新 描述 约束
RouterInterfaceId String 路由器接口 ID。
OppositeInterfaceId String 连接对端的路由器接口 ID。
OppositeRouterId String 连接对端的路由器接口所属的路由器 ID。
OppositeInterfaceOwnerId String 连接对端路由器接口的持有者账号ID。

返回值

Fn::GetAtt

RouterInterfaceId:路由器 ID。

示例

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