DATASOURCE::CEN::TransitRouterRouteTables is used to query the route tables of an Enterprise Edition transit router.
Syntax
{
"Type": "DATASOURCE::CEN::TransitRouterRouteTables",
"Properties": {
"TransitRouterRouteTableIds": List,
"TransitRouterRouteTableStatus": String,
"TransitRouterRouteTableNames": List,
"TransitRouterRouteTableType": String,
"TransitRouterId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
TransitRouterRouteTableIds | List | No | Yes | The IDs of route tables. | You can query IDs of up to 20 route tables in each call. |
TransitRouterRouteTableStatus | String | No | Yes | The status of the route table. | Valid values:
|
TransitRouterRouteTableNames | List | No | Yes | The names of route tables. | You can query names of up to 20 route tables in each call.
Note If you specify both TransitRouterRouteTableNames and TransitRouterRouteTableIds, make
sure that the specified name and ID belong to the same route table.
|
TransitRouterRouteTableType | String | No | Yes | The type of the route table. | Valid values:
|
TransitRouterId | String | Yes | Yes | The ID of the Enterprise Edition transit router. | None. |
Return values (Fn::GetAtt)
- TransitRouterRouteTableIds: the IDs of the route tables of the Enterprise Edition transit router.
- TransitRouterRouteTables: details of the route tables of the Enterprise Edition transit router.
Property | Type | Description | Constraint |
---|---|---|---|
TransitRouterRouteTableIds | List | The IDs of the route tables of the Enterprise Edition transit router. | None. |
TransitRouterRouteTables | List | Details of the route tables of the Enterprise Edition transit router. | None. |
TransitRouterRouteTableId | String | The ID of the route table. | None. |
TransitRouterRouteTableStatus | String | The state of the route table. | Valid values:
|
TransitRouterRouteTableType | String | The type of the route table. | Valid values:
|
TransitRouterRouteTableDescription | String | The description of the route table. | None. |
CreateTime | String | The time when the route table was created. | The time follows the ISO8601 standard in the YYYY-MM-DDThh:mmZ format. The time is displayed in UTC. |
TransitRouterRouteTableName | String | The name of the route table. | None. |
Examples
-
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "TransitRouterId": { "Type": "String", "Description": "The ID of the Enterprise Edition transit router." } }, "Resources": { "ExtensionDataSource": { "Type": "DATASOURCE::CEN::TransitRouterRouteTables", "Properties": { "TransitRouterId": { "Ref": "TransitRouterId" } } } }, "Outputs": { "TransitRouterRouteTableIds": { "Description": "The list of TransitRouterRouteTable IDs.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "TransitRouterRouteTableIds" ] } }, "TransitRouterRouteTables": { "Description": "The list of TransitRouterRouteTables.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "TransitRouterRouteTables" ] } } } }