All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::CEN::TransitRouterAttachments

Last Updated:Jan 07, 2026

The DATASOURCE::CEN::TransitRouterAttachments data source queries information about network instance connections on a transit router.

Syntax

{
  "Type": "DATASOURCE::CEN::TransitRouterAttachments",
  "Properties": {
    "CenId": String,
    "ResourceTypes": List,
    "RegionId": String,
    "RefreshOptions": String,
    "TransitRouterAttachmentId": String,
    "TransitRouterId": String
  }
}

Properties

Property

Type

Required

Update Allowed

Description

Constraints

CenId

String

No

Yes

The ID of the Cloud Enterprise Network (CEN) instance.

None

ResourceTypes

List

No

Yes

The type of the network instance that is associated with the network instance connection.

Valid values:

  • VPC: a virtual private cloud (VPC) instance.

  • CCN: a Cloud Connect Network (CCN) instance.

  • VBR: a virtual border router (VBR) instance.

  • TR: a transit router instance. This value indicates that you want to query information about an inter-region connection.

RegionId

String

No

Yes

The region ID of the transit router.

None

RefreshOptions

String

No

Yes

The refresh policy for the data source resource when the stack is updated.

Valid values:

  • Never (default): The data source resource is never refreshed when the stack is updated.

  • Always: The data source resource is always refreshed when the stack is updated.

TransitRouterAttachmentId

String

No

Yes

The ID of the network instance connection.

None

TransitRouterId

String

No

Yes

The ID of the transit router instance.

None

Return value

Fn::GetAtt

  • TransitRouterAttachmentIds: The IDs of the network instance connections.

  • TransitRouterAttachments: The details of the network instance connections.

Property Name

Type

Description

Constraints

TransitRouterAttachmentIds

List

The list of network instance connection IDs.

None

TransitRouterAttachments

List

The list of details about the network instance connections.

None

TransitRouterAttachmentId

String

The ID of the network instance connection.

None

Status

String

The association status between the network instance connection and the route table of the transit router.

Valid values:

  • Enabling: Loading...

  • Disabling: The process of uninstalling.

  • Active: The resource is available.

  • Deleted: The component is uninstalled.

ResourceRegionId

String

The region ID of the network instance.

None

Association

Map

The information about the transit router route table that is associated with the network instance connection for forwarding.

Example:

{
  "Status": "Active",
  "TransitRouterRouteTableId": "vtb-m5xxxxxxx"
}

CreationTime

String

The time when the network instance connection was created.

None

ResourceId

String

The ID of the network instance associated with the network instance connection.

None

Propagations

List

The information about the transit router route table that learns routes from the network instance connection.

Example:

[
  {
    "Status": "Active",
    "TransitRouterRouteTableId": "vtb-m5e16nauu7on835syw8wi"
  }
]

TransitRouterAttachmentName

String

The name of the network instance connection.

None

TransitRouterAttachmentDescription

String

The description of the network instance connection.

None

ResourceType

String

The type of the network instance associated with the network instance connection.

Valid values:

  • VPC: a VPC instance.

  • CCN: a CCN instance.

  • VBR: a VBR instance.

  • TR: a transit router instance. This value indicates that the current connection is an inter-region connection.

ManagedService

String

The Alibaba Cloud service to which the network instance belongs.

None

ResourceOwnerId

String

The ID of the account to which the network instance belongs.

None

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  CenId:
    Type: String
    Description: The ID of the CEN instance.
    Required: false
  RegionId:
    Type: String
    Description: The ID of the region where the transit router is deployed.
    Required: false
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::CEN::TransitRouterAttachments
    Properties:
      CenId:
        Ref: CenId
      RegionId:
        Ref: RegionId
Outputs:
  TransitRouterAttachmentIds:
    Description: The list of the transit router attachment IDs.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - TransitRouterAttachmentIds
  TransitRouterAttachments:
    Description: The details about the transit router attachments.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - TransitRouterAttachments
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "CenId": {
      "Type": "String",
      "Description": "The ID of the CEN instance.",
      "Required": false
    },
    "RegionId": {
      "Type": "String",
      "Description": "The ID of the region where the transit router is deployed.",
      "Required": false
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::CEN::TransitRouterAttachments",
      "Properties": {
        "CenId": {
          "Ref": "CenId"
        },
        "RegionId": {
          "Ref": "RegionId"
        }
      }
    }
  },
  "Outputs": {
    "TransitRouterAttachmentIds": {
      "Description": "The list of the transit router attachment IDs.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "TransitRouterAttachmentIds"
        ]
      }
    },
    "TransitRouterAttachments": {
      "Description": "The details about the transit router attachments.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "TransitRouterAttachments"
        ]
      }
    }
  }
}