O recurso ALIYUN::MPS::Pipeline crie uma fila do ApsaraVideo Media Processing (MPS).
Sintaxe
{
"Type": "ALIYUN::MPS::Pipeline",
"Properties": {
"Role": String,
"Speed": String,
"SpeedLevel": Integer,
"State": String,
"NotifyConfig": Map,
"Name": String
}
}
Propriedades
| Propriedade | Tipo | Obrigatório | Editável | Descrição | Restrição |
| Role | String | Não | Sim | Função atribuída ao usuário RAM atual. | Nenhuma |
| Speed | String | Não | Não | Tipo da fila do MPS. | Valores válidos:
|
| SpeedLevel | Integer | Não | Não | Nível da fila do MPS. | Nenhuma |
| State | String | Não | Sim | Estado da fila do MPS. | Valores válidos:
|
| NotifyConfig | Map | Não | Sim | Configurações de notificações do Message Service (MNS) para a fila do MPS. | Para obter mais informações, consulte Propriedades de NotifyConfig. |
| Name | String | Sim | Sim | Nome da fila do MPS. | Nenhuma |
Sintaxe de NotifyConfig
"NotifyConfig": {
"Topic": String,
"QueueName": String
}
Propriedades de NotifyConfig
|
Propriedade |
Tipo |
Obrigatório |
Editável |
Descrição |
Restrição |
|
Topic |
String |
Não |
Sim |
Nome do tópico MNS para envio de notificações. |
Nenhuma |
|
QueueName |
String |
Não |
Sim |
Nome da fila MNS para envio de notificações. |
Nenhuma |
Parâmetros de resposta
Fn::GetAtt
PipelineId: ID da fila do MPS.
Exemplos
Formato JSON
{
"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"
]
}
}
}
}