MediaWorkflowProps
Properties for defining a MediaWorkflow
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mps-mediaworkflow
Initializer
import { MediaWorkflowProps } from '@alicloud/ros-cdk-mps'
const mediaWorkflowProps: MediaWorkflowProps = { ... }
Properties
Name | Type | Description |
---|---|---|
name |
string | @alicloud/ros-cdk-core.IResolvable |
Property name: The topology of the media workflow. |
topology |
@alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} |
Property topology: The topology of the media workflow. |
triggerMode |
string | @alicloud/ros-cdk-core.IResolvable |
Property triggerMode: The triggering mode of the media workflow. |
name
Required
public readonly name: string | IResolvable;
- Type: string | @alicloud/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.
topology
Required
public readonly topology: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: 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.
triggerMode
Optional
public readonly triggerMode: string | IResolvable;
- Type: string | @alicloud/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.