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