The ALIYUN::AppFlow::ChatbotFlow type is used to create a chatbot flow.
Syntax
{
"Type": "ALIYUN::AppFlow::ChatbotFlow",
"Properties": {
"ChatbotId": String,
"FlowConfig": Map,
"FlowName": String,
"FlowType": String
}
}Properties
Property name | Type | Required | Editable | Description | Constraint |
ChatbotId | String | Yes | No | The chatbot ID. | None |
FlowConfig | Map | No | Yes | The configuration of the chatbot flow. | None |
FlowName | String | No | Yes | The name of the chatbot flow. | None |
FlowType | String | No | No | The type of the chatbot flow. | None |
Return value
Fn::GetAtt
ChatbotFlowId: The ID of the chatbot flow.
Example
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"
]
}
}
}
}