PluginConfigProps
Properties for defining a PluginConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mse-pluginconfig
Initializer
import ros_cdk_mse
ros_cdk_mse.PluginConfigProps(
config_level: typing.Union[typing.Union[int, float], IResolvable],
enable: typing.Union[bool, IResolvable],
gateway_unique_id: typing.Union[str, IResolvable],
plugin_id: typing.Union[typing.Union[int, float], IResolvable],
config: typing.Union[str, IResolvable] = None,
resource_id_list: typing.Union[IResolvable, typing.List[typing.Union[typing.Union[int, float], IResolvable]]] = None
)
Properties
| Name | Type | Description |
|---|---|---|
config_level | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property configLevel: The scope of the plugin application. |
enable | typing.Union[bool, ros_cdk_core.IResolvable] | Property enable: Whether to enable the plugin. |
gateway_unique_id | typing.Union[str, ros_cdk_core.IResolvable] | Property gatewayUniqueId: The unique ID of the gateway. |
plugin_id | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property pluginId: The ID of the gateway plugin. |
config | typing.Union[str, ros_cdk_core.IResolvable] | Property config: The configuration of the plugin. |
resource_id_list | typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]]] | Property resourceIdList: List of domain IDs\/route IDs (depending on ConfigLevel). |
config_levelRequired
config_level: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property configLevel: The scope of the plugin application.
- 0: Global
- 1: Route
- 2: Domain
enableRequired
enable: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property enable: Whether to enable the plugin.
gateway_unique_idRequired
gateway_unique_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property gatewayUniqueId: The unique ID of the gateway.
plugin_idRequired
plugin_id: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property pluginId: The ID of the gateway plugin.
configOptional
config: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
resource_id_listOptional
resource_id_list: typing.Union[IResolvable, typing.List[typing.Union[typing.Union[int, float], IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]]]
Property resourceIdList: List of domain IDs\/route IDs (depending on ConfigLevel).