Skip to content

RoutineRouteProps

Properties for defining a RoutineRoute.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-routineroute

Initializer

import ros_cdk_esa
ros_cdk_esa.RoutineRouteProps(
  routine_name: typing.Union[str, IResolvable],
  site_id: typing.Union[typing.Union[int, float], IResolvable],
  bypass: typing.Union[str, IResolvable] = None,
  fallback: typing.Union[str, IResolvable] = None,
  route_enable: typing.Union[str, IResolvable] = None,
  route_name: typing.Union[str, IResolvable] = None,
  rule: typing.Union[str, IResolvable] = None,
  sequence: typing.Union[typing.Union[int, float], IResolvable] = None
)

Properties

Name Type Description
routine_name typing.Union[str, ros_cdk_core.IResolvable] Property routineName: The edge function Routine name.
site_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property siteId: The website ID.
bypass typing.Union[str, ros_cdk_core.IResolvable] Property bypass: Bypass mode.
fallback typing.Union[str, ros_cdk_core.IResolvable] Property fallback: The exception origin fetch switch.
route_enable typing.Union[str, ros_cdk_core.IResolvable] Property routeEnable: Routing switch.
route_name typing.Union[str, ros_cdk_core.IResolvable] Property routeName: The name of the route.
rule typing.Union[str, ros_cdk_core.IResolvable] Property rule: The content of the rule.
sequence typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property sequence: Rule execution order.

routine_nameRequired

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

Property routineName: The edge function Routine name.


site_idRequired

site_id: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property siteId: The website ID.


bypassOptional

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

Property bypass: Bypass mode.

Value range:

  • on: Open
  • off: off.

fallbackOptional

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

Property fallback: The exception origin fetch switch.

After you turn on this switch, if a function exception occurs, such as CPU usage exceeding the upper limit, requests are sent back to the origin. Valid values: on off


route_enableOptional

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

Property routeEnable: Routing switch.

Value range:

  • on: Open
  • off: off.

route_nameOptional

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

Property routeName: The name of the route.


ruleOptional

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

Property rule: The content of the rule.


sequenceOptional

sequence: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property sequence: Rule execution order.