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:
|
SpeedLevel | Integer | No | No | The level of the MPS queue. | None |
State | String | No | Yes | The state of the MPS queue. | Valid values:
|
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"
]
}
}
}
}