Skip to content

PipelineProps

Properties for defining a Pipeline.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmps"
&alicloudroscdkmps.PipelineProps {
    Name: interface{},
    NotifyConfig: interface{},
    Role: interface{},
    Speed: interface{},
    SpeedLevel: interface{},
    State: interface{},
}

Properties

Name Type Description
Name interface{} Property name: The new name of the MPS queue.
NotifyConfig interface{} Property notifyConfig: The Message Service (MNS) configuration, such as the information about the MNS queue or topic.
Role interface{} Property role: The role that is assigned to the current RAM user.
Speed interface{} Property speed: Pipe type.
SpeedLevel interface{} Property speedLevel: Speed level.
State interface{} Property state: The new state of the MPS queue.

NameRequired

Name interface{}
  • Type: interface{}

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

NotifyConfig interface{}
  • Type: interface{}

Property notifyConfig: The Message Service (MNS) configuration, such as the information about the MNS queue or topic.

For more information, see NotifyConfig.


RoleOptional

Role interface{}
  • Type: interface{}

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 interface{}
  • Type: interface{}

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

SpeedLevel interface{}
  • Type: interface{}

Property speedLevel: Speed level.


StateOptional

State interface{}
  • Type: interface{}

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.