ALIYUN::VPC::PeeringRouterInterfaceBinding is used to bind a router interface with another router interface.

Syntax

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

Properties

PropertyTypeRequiredEditableDescriptionConstraint
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 ID of the account to which the peer router interface belongs. None.

Return values

Fn::GetAtt

RouterInterfaceId: the ID of the router interface.

Examples

  • YAML format

    ROSTemplateFormatVersion: '2015-09-01'
    Resources:
      InitiatorRouterInterfaceBinding:
        Type: ALIYUN::VPC::PeeringRouterInterfaceBinding
        Properties:
          RouterInterfaceId: ri-2zedgo0ih64g1me29****
          OppositeInterfaceId: ri-2zex1tkyym98pjaor****
          OppositeRouterId: vrt-2zexb35tzoriu0286****
  • JSON format

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