PipelineProps
Properties for defining a Pipeline.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mps-pipeline
Initializer
import ros_cdk_mps
ros_cdk_mps.PipelineProps(
name: typing.Union[str, IResolvable],
notify_config: typing.Union[IResolvable, NotifyConfigProperty] = None,
role: typing.Union[str, IResolvable] = None,
speed: typing.Union[str, IResolvable] = None,
speed_level: typing.Union[typing.Union[int, float], IResolvable] = None,
state: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: The new name of the MPS queue. |
notify_config |
typing.Union[ros_cdk_core.IResolvable, NotifyConfigProperty] |
Property notifyConfig: The Message Service (MNS) configuration, such as the information about the MNS queue or topic. |
role |
typing.Union[str, ros_cdk_core.IResolvable] |
Property role: The role that is assigned to the current RAM user. |
speed |
typing.Union[str, ros_cdk_core.IResolvable] |
Property speed: Pipe type. |
speed_level |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property speedLevel: Speed level. |
state |
typing.Union[str, ros_cdk_core.IResolvable] |
Property state: The new state of the MPS queue. |
nameRequired
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: The new name of the MPS queue.
The value can contain letters, digits, and special characters such as hyphens (-) and can be up to 128 bytes in size. The value cannot start with a special character.
notify_configOptional
notify_config: typing.Union[IResolvable, NotifyConfigProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, NotifyConfigProperty]
Property notifyConfig: The Message Service (MNS) configuration, such as the information about the MNS queue or topic.
For more information, see NotifyConfig.
roleOptional
role: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property role: The role that is assigned to the current RAM user.
To obtain the role, you can log on to the RAM console and choose Identities > Roles in the left-side navigation pane.
speedOptional
speed: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property speed: Pipe type.
Value: Boost: Double-speed transcoding Standard: ordinary pipe NarrowBandHDV2: Narrowband HD 2.0 AIVideoCover: Smart Screenshots AIVideoTag: video tag (supports regions Shanghai, Beijing, Hangzhou). Default: Standard.
speed_levelOptional
speed_level: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property speedLevel: Speed level.
stateOptional
state: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property state: The new state of the MPS queue.
Active: The MPS queue is active. Jobs in the MPS queue can be scheduled and run by MPS. Paused: The MPS queue is paused. Jobs in the MPS queue cannot be scheduled or run by MPS, and all jobs remain in the Submitted state. Jobs that are running will not be affected.