Skip to content

RouteTablesProps

Properties for defining a RouteTables.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-routetables

Initializer

from ros_cdk_vpc import datasource
datasource.RouteTablesProps(
  refresh_options: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  router_id: typing.Union[str, IResolvable] = None,
  router_type: typing.Union[str, IResolvable] = None,
  route_table_id: typing.Union[str, IResolvable] = None,
  route_table_name: typing.Union[str, IResolvable] = None,
  vpc_id: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group to which the route table belongs.
router_id typing.Union[str, ros_cdk_core.IResolvable] Property routerId: The ID of the VRouter to which the route table belongs.
router_type typing.Union[str, ros_cdk_core.IResolvable] Property routerType: The type of the VRouter to which the route table belongs.
route_table_id typing.Union[str, ros_cdk_core.IResolvable] Property routeTableId: The ID of the route table.
route_table_name typing.Union[str, ros_cdk_core.IResolvable] Property routeTableName: The name of the route table.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The ID of the VRouter to which the route table belongs.

refresh_optionsOptional

refresh_options: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: The ID of the resource group to which the route table belongs.


router_idOptional

router_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property routerId: The ID of the VRouter to which the route table belongs.


router_typeOptional

router_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property routerType: The type of the VRouter to which the route table belongs.

Valid values: VRouter (default): VRouter. VBR: Virtual Border Router (VBR).


route_table_idOptional

route_table_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property routeTableId: The ID of the route table.


route_table_nameOptional

route_table_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property routeTableName: The name of the route table.


vpc_idOptional

vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property vpcId: The ID of the VRouter to which the route table belongs.

The value of the RouterType parameter is set to VRouter automatically when this parameter is specified.