Skip to content

PipelineProps

Properties for defining a Pipeline.

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

Initializer

import { PipelineProps } from '@alicloud/ros-cdk-mps'
const pipelineProps: PipelineProps = { ... }

Properties

Name Type Description
name string | @alicloud/ros-cdk-core.IResolvable Property name: The new name of the MPS queue.
notifyConfig @alicloud/ros-cdk-core.IResolvable | NotifyConfigProperty Property notifyConfig: The Message Service (MNS) configuration, such as the information about the MNS queue or topic.
role string | @alicloud/ros-cdk-core.IResolvable Property role: The role that is assigned to the current RAM user.
speed string | @alicloud/ros-cdk-core.IResolvable Property speed: Pipe type.
speedLevel number | @alicloud/ros-cdk-core.IResolvable Property speedLevel: Speed level.
state string | @alicloud/ros-cdk-core.IResolvable Property state: The new state of the MPS queue.

nameRequired

public readonly name: string | IResolvable;
  • Type: string | @alicloud/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.


notifyConfigOptional

public readonly notifyConfig: 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

public readonly role: string | IResolvable;
  • Type: string | @alicloud/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

public readonly speed: string | IResolvable;
  • Type: string | @alicloud/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.


speedLevelOptional

public readonly speedLevel: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property speedLevel: Speed level.


stateOptional

public readonly state: string | IResolvable;
  • Type: string | @alicloud/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.