The ALIYUN::MPS::Pipeline resource creates an ApsaraVideo Media Processing (MPS) pipeline.
Syntax
{
"Type": "ALIYUN::MPS::Pipeline",
"Properties": {
"Role": String,
"Speed": String,
"SpeedLevel": Integer,
"State": String,
"NotifyConfig": Map,
"Name": String
}
}Properties
Property Name | Type | Required | Update allowed | Description | Constraints |
Role | String | No | Yes | The role associated with the current Resource Access Management (RAM) user. | None |
Speed | String | No | No | The pipeline type. | Valid values:
|
SpeedLevel | Integer | No | No | The pipeline level. | None |
State | String | No | Yes | The pipeline state. | Valid values:
|
NotifyConfig | Map | No | Yes | The configuration for Simple Message Queue (formerly MNS) notifications. | For more information, see NotifyConfig properties. |
Name | String | Yes | Yes | The pipeline name. | None |
NotifyConfig syntax
"NotifyConfig": {
"Topic": String,
"QueueName": String
}NotifyConfig properties
Property name | Type | Required | Update allowed | Description | Constraints |
Topic | String | No | Yes | The name of the topic that is created in Simple Message Queue (formerly MNS). | None |
QueueName | String | No | Yes | The name of the queue that is created in Simple Message Queue (formerly MNS). | None |
Return value
Fn::GetAtt
PipelineId: The ID of the pipeline.
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"
]
}
}
}
}