The DATASOURCE::CEN::TransitRouterPeerAttachments data source is used to query the details of inter-region connections of an Enterprise Edition transit router.
Syntax
{
"Type": "DATASOURCE::CEN::TransitRouterPeerAttachments",
"Properties": {
"CenId": String,
"RegionId": String,
"RefreshOptions": String,
"TransitRouterAttachmentId": String,
"Tag": List,
"TransitRouterId": String
}
}Properties
Property | Type | Required | Update Allowed | Description | Constraints |
CenId | String | No | Yes | The ID of the CEN instance. | None |
RegionId | String | No | Yes | The ID of the region where the Enterprise Edition transit router is deployed. | None |
RefreshOptions | String | No | Yes | The refresh policy for the data source resource when the stack is updated. | Valid values:
|
TransitRouterAttachmentId | String | No | Yes | The ID of the inter-region connection. | None |
Tag | List | No | Yes | The tags that are attached to the Enterprise Edition transit router. | For more information, see Tag properties. |
TransitRouterId | String | No | Yes | The ID of the Enterprise Edition transit router. | None |
Tag syntax
"Tag": [
{
"Value": String,
"Key": String
}
]Tag properties
Property Name | Type | Required | Update Allowed | Description | Constraints |
Key | String | Yes | No | The tag key. | None |
Value | String | No | No | The tag value. | None |
Return value
Fn::GetAtt
TransitRouterPeerAttachments: The details of the inter-region connections.
TransitRouterPeerAttachmentIds: A list of inter-region connection IDs.
Property Name | Type | Description | Constraints |
TransitRouterPeerAttachmentIds | List | A list of inter-region connection IDs. | None |
TransitRouterPeerAttachments | List | The details of the inter-region connections. | None |
TransitRouterAttachmentId | String | The ID of the inter-region connection. | None |
TransitRouterId | String | The ID of the Enterprise Edition transit router. | None |
CenId | String | The ID of the CEN instance. | None |
RegionId | String | The ID of the region where the Enterprise Edition transit router is deployed. | None |
PeerTransitRouterId | String | The ID of the peer transit router. | None |
PeerTransitRouterRegionId | String | The ID of the region where the peer transit router is deployed. | None |
Status | String | The status of the inter-region connection. | Valid values:
|
CreationTime | String | The time when the inter-region connection was created. | None |
Bandwidth | String | The bandwidth of the inter-region connection. | Unit: Mbps. |
BandwidthType | String | The method used to allocate bandwidth. | Valid values:
|
CenBandwidthPackageId | String | The ID of the bandwidth plan that is attached to the inter-region connection. | None |
TransitRouterAttachmentName | String | The name of the inter-region connection. | None |
TransitRouterAttachmentDescription | String | The description of the inter-region connection. | None |
AutoPublishRouteEnabled | String | Indicates whether the Enterprise Edition transit router automatically advertises routes of the inter-region connection to the peer region. | None |
GeographicSpanId | String | The connected areas of the bandwidth plan. | None |
PeerTransitRouterOwnerId | String | The ID of the account to which the peer transit router belongs. | None |
ResourceType | String | The type of resource that is associated with the connection. | Valid values:
|
DefaultLinkType | String | The default link type. | Valid values:
|
Tags | List | A list of tags. | None |
Examples
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
CenId:
Type: String
Description:
en: The ID of the CEN instance.
Required: false
RegionId:
Type: String
Description:
en: The ID of the region where the transit router is deployed.
Required: false
Resources:
ExtensionDataSource:
Type: DATASOURCE::CEN::TransitRouterPeerAttachments
Properties:
CenId:
Ref: CenId
RegionId:
Ref: RegionId
Outputs:
TransitRouterPeerAttachments:
Description: The information about TransitRouterPeerAttachments.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TransitRouterPeerAttachments
TransitRouterPeerAttachmentIds:
Description: The list of The TransitRouterPeerAttachment IDs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- TransitRouterPeerAttachmentIds
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"CenId": {
"Type": "String",
"Description": {
"en": "The ID of the CEN instance."
},
"Required": false
},
"RegionId": {
"Type": "String",
"Description": {
"en": "The ID of the region where the transit router is deployed."
},
"Required": false
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::CEN::TransitRouterPeerAttachments",
"Properties": {
"CenId": {
"Ref": "CenId"
},
"RegionId": {
"Ref": "RegionId"
}
}
}
},
"Outputs": {
"TransitRouterPeerAttachments": {
"Description": "The information about TransitRouterPeerAttachments.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TransitRouterPeerAttachments"
]
}
},
"TransitRouterPeerAttachmentIds": {
"Description": "The list of The TransitRouterPeerAttachment IDs.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"TransitRouterPeerAttachmentIds"
]
}
}
}
}