DATASOURCE::FNF::Flow类型用于查询单个流程信息。
语法
{
"Type": "DATASOURCE::FNF::Flow",
"Properties": {
"FlowName": String,
"RefreshOptions": String
}
}
属性
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 |
FlowName | String | 是 | 是 | 流程名称。 | 无 |
RefreshOptions | String | 否 | 是 | 当资源栈更新时,数据源资源的刷新策略。 | 有效值:
|
返回值
Fn::GetAtt
FlowId:流程的唯一ID。
Type:流程类型。
Description:流程描述。
FlowName:流程名称。
CreateTime:流程创建时间。
Definition:流程定义。
LastModifiedTime:流程最后更改时间。
RoleArn:流程执行所需资源描述符信息。
示例
YAML
JSON
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
FlowName:
Type: String
Description:
en: The name of the flow. The name must be unique within a region for the same Alibaba Cloud account.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::FNF::Flow
Properties:
FlowName:
Ref: FlowName
Outputs:
FlowId:
Description: The unique ID of the flow.
Value:
Fn::GetAtt:
- ExtensionDataSource
- FlowId
Type:
Description: The type of the flow. Valid values are FDL or DEFAULT.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Type
Description:
Description: The description of the flow.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Description
FlowName:
Description: The name of the flow. The name must be unique within a region for the same Alibaba Cloud account.
Value:
Fn::GetAtt:
- ExtensionDataSource
- FlowName
CreateTime:
Description: The time when the flow was created.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
Definition:
Description: The flow definition, which follows the flow definition language (FDL) syntax standard. Considering compatibility, the system supports the two flow definition specifications.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Definition
LastModifiedTime:
Description: The time when the flow was last modified.
Value:
Fn::GetAtt:
- ExtensionDataSource
- LastModifiedTime
RoleArn:
Description: The Alibaba Cloud resource name (ARN) of the authorized role on which the execution of the flow relies. During the execution of the flow, CloudFlow assumes the role to call API operations of relevant services.
Value:
Fn::GetAtt:
- ExtensionDataSource
- RoleArn
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"FlowName": {
"Type": "String",
"Description": {
"en": "The name of the flow. The name must be unique within a region for the same Alibaba Cloud account."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::FNF::Flow",
"Properties": {
"FlowName": {
"Ref": "FlowName"
}
}
}
},
"Outputs": {
"FlowId": {
"Description": "The unique ID of the flow.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"FlowId"
]
}
},
"Type": {
"Description": "The type of the flow. Valid values are FDL or DEFAULT.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Type"
]
}
},
"Description": {
"Description": "The description of the flow.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Description"
]
}
},
"FlowName": {
"Description": "The name of the flow. The name must be unique within a region for the same Alibaba Cloud account.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"FlowName"
]
}
},
"CreateTime": {
"Description": "The time when the flow was created.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"Definition": {
"Description": "The flow definition, which follows the flow definition language (FDL) syntax standard. Considering compatibility, the system supports the two flow definition specifications.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Definition"
]
}
},
"LastModifiedTime": {
"Description": "The time when the flow was last modified.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"LastModifiedTime"
]
}
},
"RoleArn": {
"Description": "The Alibaba Cloud resource name (ARN) of the authorized role on which the execution of the flow relies. During the execution of the flow, CloudFlow assumes the role to call API operations of relevant services.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"RoleArn"
]
}
}
}
}
该文章对您有帮助吗?
- 本页导读
- 语法
- 属性
- 返回值
- 示例