Todos os produtos
Search
Central de documentação

Resource Orchestration Service:ALIYUN::AppFlow::ChatbotFlow

Última atualização: Jun 27, 2026

Cria um fluxo de chatbot no AppFlow.

Sintaxe

{
  "Type": "ALIYUN::AppFlow::ChatbotFlow",
  "Properties": {
    "ChatbotId": String,
    "FlowConfig": Map,
    "FlowName": String,
    "FlowType": String
  }
}

Propriedades

Nome da propriedade

Tipo

Obrigatório

Editável

Descrição

Restrição

ChatbotId

String

Sim

Não

ID do chatbot.

Nenhuma

FlowConfig

Map

Não

Sim

Configuração do fluxo de chatbot.

Nenhuma

FlowName

String

Não

Sim

Nome do fluxo de chatbot.

Nenhuma

FlowType

String

Não

Não

Tipo do fluxo de chatbot.

Nenhuma

Valor de retorno

Fn::GetAtt

ChatbotFlowId: ID do fluxo de chatbot.

Exemplo

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ChatbotId:
    Type: String
    Description:
      en: The ID of the chatbot.
    Required: true
  FlowName:
    Type: String
    Description:
      en: The name of the chatbot flow.
    Required: false
Resources:
  ChatbotFlow:
    Type: ALIYUN::AppFlow::ChatbotFlow
    Properties:
      ChatbotId:
        Ref: ChatbotId
      FlowName:
        Ref: FlowName
Outputs:
  ChatbotFlowId:
    Description: The ID of the chatbot flow.
    Value:
      Fn::GetAtt:
        - ChatbotFlow
        - ChatbotFlowId
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ChatbotId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the chatbot."
      },
      "Required": true
    },
    "FlowName": {
      "Type": "String",
      "Description": {
        "en": "The name of the chatbot flow."
      },
      "Required": false
    }
  },
  "Resources": {
    "ChatbotFlow": {
      "Type": "ALIYUN::AppFlow::ChatbotFlow",
      "Properties": {
        "ChatbotId": {
          "Ref": "ChatbotId"
        },
        "FlowName": {
          "Ref": "FlowName"
        }
      }
    }
  },
  "Outputs": {
    "ChatbotFlowId": {
      "Description": "The ID of the chatbot flow.",
      "Value": {
        "Fn::GetAtt": [
          "ChatbotFlow",
          "ChatbotFlowId"
        ]
      }
    }
  }
}