PluginConfigProps
Properties for defining a PluginConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-pluginconfig
Initializer
import { PluginConfigProps } from '@alicloud/ros-cdk-mse'
const pluginConfigProps: PluginConfigProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
configLevel | number | @alicloud/ros-cdk-core.IResolvable | Property configLevel: The scope of the plugin application. |
enable | boolean | @alicloud/ros-cdk-core.IResolvable | Property enable: Whether to enable the plugin. |
gatewayUniqueId | string | @alicloud/ros-cdk-core.IResolvable | Property gatewayUniqueId: The unique ID of the gateway. |
pluginId | number | @alicloud/ros-cdk-core.IResolvable | Property pluginId: The ID of the gateway plugin. |
config | string | @alicloud/ros-cdk-core.IResolvable | Property config: The configuration of the plugin. |
resourceIdList | @alicloud/ros-cdk-core.IResolvable | number | @alicloud/ros-cdk-core.IResolvable[] | Property resourceIdList: List of domain IDs\/route IDs (depending on ConfigLevel). |
configLevelRequired
public readonly configLevel: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property configLevel: The scope of the plugin application.
0: Global - 1: Route - 2: Domain
enableRequired
public readonly enable: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property enable: Whether to enable the plugin.
gatewayUniqueIdRequired
public readonly gatewayUniqueId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property gatewayUniqueId: The unique ID of the gateway.
pluginIdRequired
public readonly pluginId: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property pluginId: The ID of the gateway plugin.
configOptional
public readonly config: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property config: The configuration of the plugin.
For Wasm plugins, the content is in YAML format. For Lua plugins, the content is Lua code.
resourceIdListOptional
public readonly resourceIdList: IResolvable | number | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | number | @alicloud/ros-cdk-core.IResolvable[]
Property resourceIdList: List of domain IDs\/route IDs (depending on ConfigLevel).