ALIYUN::MPS::Pipeline is used to create an ApsaraVideo Media Processing (MPS) queue.

Syntax

{
  "Type": "ALIYUN::MPS::Pipeline",
  "Properties": {
    "Role": String,
    "Speed": String,
    "SpeedLevel": Integer,
    "State": String,
    "NotifyConfig": Map,
    "Name": String
  }
}

Properties

Property Type Required Editable Description Constraint
Role String No Yes The role that is assigned to the current RAM user. None
Speed String No No The type of the MPS queue. Valid values:
  • Boost: MPS queue with transcoding speed boosted.
  • Standard: standard MPS queue. This is the default value.
  • NarrowBandHDV2: MPS queue that supports Narrowband HD 2.0.
  • AIVideoCover: MPS queue for intelligent snapshot capture.
  • AIVideoFPShot: MPS queue for media fingerprinting.
  • AIVideoCensor: MPS queue for automated review.
  • AIVideoMCU: MPS queue for smart tagging.
  • AIVideoSummary: MPS queue for video synopsis.
  • AIVideoPorn: MPS queue for pornography detection in videos.
  • AIAudioKWS: MPS queue for keyword recognition in audio.
  • AIAudioASR: MPS queue for speech-to-text conversion.
SpeedLevel Integer No No The level of the MPS queue. None
State String No Yes The state of the MPS queue. Valid values:
  • Active: The MPS queue is active.
  • Paused: The MPS queue is paused.
NotifyConfig Map No Yes The configurations of Message Service (MNS) notifications for the MPS queue. For more information, see NotifyConfig properties.
Name String Yes Yes The name of the MPS queue. None

NotifyConfig syntax

"NotifyConfig": {
  "Topic": String,
  "QueueName": String
}

NotifyConfig properties

Property Type Required Editable Description Constraint
Topic String No Yes The name of the MNS topic to which you want to send notifications. None
QueueName String No Yes The name of the MNS queue to which you want to send notifications. None

Response parameters

Fn::GetAtt

PipelineId: the ID of the MPS queue.

Examples

JSON format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Name": {
      "Type": "String",
      "Description": "The new name of the MPS queue. The value can contain letters, digits, and special\ncharacters such as hyphens (-) and can be up to 128 bytes in size. The value cannot\nstart with a special character."
    }
  },
  "Resources": {
    "Pipeline": {
      "Type": "ALIYUN::MPS::Pipeline",
      "Properties": {
        "Name": {
          "Ref": "Name"
        }
      }
    }
  },
  "Outputs": {
    "PipelineId": {
      "Description": "The ID of the MPS queue.",
      "Value": {
        "Fn::GetAtt": [
          "Pipeline",
          "PipelineId"
        ]
      }
    }
  }
}