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:
|
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:
|
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:
|
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: |
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: |
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:
|
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"
]
}
}
}
}