Skip to content

MediaWorkflowProps

Properties for defining a MediaWorkflow.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mps-mediaworkflow

Initializer

import ros_cdk_mps
ros_cdk_mps.MediaWorkflowProps(
  name: typing.Union[str, IResolvable],
  topology: typing.Union[IResolvable, typing.Mapping[typing.Any]],
  trigger_mode: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The topology of the media workflow.
topology typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property topology: The topology of the media workflow.
trigger_mode typing.Union[str, ros_cdk_core.IResolvable] Property triggerMode: The triggering mode of the media workflow.

nameRequired

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

Property name: The topology of the media workflow.

The value cannot be empty. The name cannot be the same as that of an existing media workflow within the current Alibaba Cloud account. The name can be up to 64 characters in length. The value must be encoded in the UTF-8 format.


topologyRequired

topology: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property topology: The topology of the media workflow.

The value must be a JSON object that contains the activities and activity dependencies. For more information, see the Sample topology section of this topic.Note The Object Storage Service (OSS) bucket must reside in the same region as your MPS service.


trigger_modeOptional

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

Property triggerMode: The triggering mode of the media workflow.

Valid values: OssAutoTrigger: The media workflow is automatically triggered. NotInAuto: The media workflow is not automatically triggered.