O recurso ALIYUN::FNF::Flow cria um fluxo.
Sintaxe
{
"Type": "ALIYUN::FNF::Flow",
"Properties": {
"Definition": String,
"RoleArn": String,
"Description": String,
"RequestId": String,
"Name": String,
"ExternalStorageLocation": String,
"ExecutionMode": String
}
}
Propriedades
Propriedade | Tipo | Obrigatório | Editável | Descrição | Restrição |
Definition | String | Sim | Sim | Definição do fluxo. Exemplo: | A definição segue a sintaxe da Flow Definition Language (FDL). Para mais informações, consulte Visão geral. |
RoleArn | String | Não | Sim | Alibaba Cloud Resource Name (ARN) da função do Resource Access Management (RAM) necessária para executar o fluxo. | Nenhuma. |
Description | String | Não | Sim | Descrição do fluxo. | Nenhuma. |
RequestId | String | Não | Sim | ID da solicitação. | Se essa propriedade estiver vazia, o sistema gera um valor aleatoriamente. |
Name | String | Sim | Não | Nome do fluxo. | O nome deve ser exclusivo na conta Alibaba Cloud. Deve ter de 1 a 128 caracteres e pode conter letras, dígitos, sublinhados (_) e hifens (-). Deve começar com uma letra ou um sublinhado (_). |
ExternalStorageLocation | String | Não | Não | Caminho do armazenamento externo. | Nenhuma. |
ExecutionMode | String | Não | Não | Modo de execução. | Valores válidos:
|
Valores de retorno
Fn::GetAtt
CreatedTime: hora de criação do fluxo.
LastModifiedTime: hora da última modificação do fluxo.
Id: ID exclusivo do fluxo.
Name: nome do fluxo.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
Flow:
Type: ALIYUN::FNF::Flow
Properties:
Name: ros-test
Definition: ros-test
Outputs:
CreatedTime:
Description: Flow creation time.
Value:
Fn::GetAtt:
- Flow
- CreatedTime
LastModifiedTime:
Description: The most recently modified time of the flow.
Value:
Fn::GetAtt:
- Flow
- LastModifiedTime
Id:
Description: The unique ID of the flow.
Value:
Fn::GetAtt:
- Flow
- Id
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
},
"Resources": {
"Flow": {
"Type": "ALIYUN::FNF::Flow",
"Properties": {
"Name": "ros-test",
"Definition": "ros-test"
}
}
},
"Outputs": {
"CreatedTime": {
"Description": "Flow creation time.",
"Value": {
"Fn::GetAtt": [
"Flow",
"CreatedTime"
]
}
},
"LastModifiedTime": {
"Description": "The most recently modified time of the flow.",
"Value": {
"Fn::GetAtt": [
"Flow",
"LastModifiedTime"
]
}
},
"Id": {
"Description": "The unique ID of the flow.",
"Value": {
"Fn::GetAtt": [
"Flow",
"Id"
]
}
}
}
}