Cria um fluxo do AppFlow.
Sintaxe
{
"Type": "ALIYUN::AppFlow::Flow",
"Properties": {
"FlowName": String,
"FlowId": String,
"FlowDesc": String,
"FlowStatus": String,
"LaunchFlow": Boolean,
"Parameters": Map,
"TemplateId": String,
"Template": Map
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatório |
Editável |
Descrição |
Restrição |
|
FlowName |
String |
Sim |
Não |
Nome do fluxo. |
Nenhuma. |
|
FlowId |
String |
Não |
Não |
ID do fluxo. |
Nenhuma. |
|
FlowDesc |
String |
Não |
Não |
Descrição do fluxo. |
Nenhuma. |
|
FlowStatus |
String |
Não |
Sim |
Status do fluxo. |
Valores válidos:
|
|
LaunchFlow |
Boolean |
Não |
Não |
Indica se o fluxo deve ser iniciado. |
Nenhuma. |
|
Parameters |
Map |
Não |
Sim |
Parâmetros do fluxo. |
Nenhuma. |
|
TemplateId |
String |
Não |
Sim |
ID do modelo do fluxo. |
Nenhuma. |
|
Template |
Map |
Não |
Não |
Configuração do modelo do fluxo. |
Nenhuma. |
Valores de retorno
Fn::GetAtt
FlowId: ID do fluxo.
WebhookAddress: endereço de webhook do fluxo.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
FlowName:
Type: String
Description:
en: The name of the flow.
Required: true
Resources:
Flow:
Type: ALIYUN::AppFlow::Flow
Properties:
FlowName:
Ref: FlowName
Outputs:
FlowId:
Description: The ID of the flow.
Value:
Fn::GetAtt:
- Flow
- FlowId
WebhookAddress:
Description: The webhook address of the flow.
Value:
Fn::GetAtt:
- Flow
- WebhookAddress
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"FlowName": {
"Type": "String",
"Description": {
"en": "The name of the flow."
},
"Required": true
}
},
"Resources": {
"Flow": {
"Type": "ALIYUN::AppFlow::Flow",
"Properties": {
"FlowName": {
"Ref": "FlowName"
}
}
}
},
"Outputs": {
"FlowId": {
"Description": "The ID of the flow.",
"Value": {
"Fn::GetAtt": [
"Flow",
"FlowId"
]
}
},
"WebhookAddress": {
"Description": "The webhook address of the flow.",
"Value": {
"Fn::GetAtt": [
"Flow",
"WebhookAddress"
]
}
}
}
}