RoutineRouteProps
Properties for defining a RoutineRoute.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-esa-routineroute
Initializer
import { RoutineRouteProps } from '@alicloud/ros-cdk-esa'
const routineRouteProps: RoutineRouteProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
routineName | string | @alicloud/ros-cdk-core.IResolvable | Property routineName: The edge function Routine name. |
siteId | number | @alicloud/ros-cdk-core.IResolvable | Property siteId: The website ID. |
bypass | string | @alicloud/ros-cdk-core.IResolvable | Property bypass: Bypass mode. |
fallback | string | @alicloud/ros-cdk-core.IResolvable | Property fallback: The exception origin fetch switch. |
routeEnable | string | @alicloud/ros-cdk-core.IResolvable | Property routeEnable: Routing switch. |
routeName | string | @alicloud/ros-cdk-core.IResolvable | Property routeName: The name of the route. |
rule | string | @alicloud/ros-cdk-core.IResolvable | Property rule: The content of the rule. |
sequence | number | @alicloud/ros-cdk-core.IResolvable | Property sequence: Rule execution order. |
routineNameRequired
public readonly routineName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property routineName: The edge function Routine name.
siteIdRequired
public readonly siteId: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property siteId: The website ID.
bypassOptional
public readonly bypass: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property bypass: Bypass mode.
Value range: - on: Open - off: off.
fallbackOptional
public readonly fallback: string | IResolvable;
- Type: string | @alicloud/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
routeEnableOptional
public readonly routeEnable: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property routeEnable: Routing switch.
Value range: - on: Open - off: off.
routeNameOptional
public readonly routeName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property routeName: The name of the route.
ruleOptional
public readonly rule: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property rule: The content of the rule.
sequenceOptional
public readonly sequence: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property sequence: Rule execution order.