RouteProps
Properties for defining a Route.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-apig-route
Initializer
from ros_cdk_apig import datasource
datasource.RouteProps(
http_api_id: typing.Union[str, IResolvable],
route_id: typing.Union[str, IResolvable],
refresh_options: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
http_api_id | typing.Union[str, ros_cdk_core.IResolvable] | Property httpApiId: The ID of the HTTP API. |
route_id | typing.Union[str, ros_cdk_core.IResolvable] | Property routeId: The ID of route resource. |
refresh_options | typing.Union[str, ros_cdk_core.IResolvable] | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
http_api_idRequired
http_api_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property httpApiId: The ID of the HTTP API.
route_idRequired
route_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property routeId: The ID of route resource.
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.