DATASOURCE::EMR::FlowProjects is used to query projects.
Syntax
{
"Type": "DATASOURCE::EMR::FlowProjects",
"Properties": {
"FlowProjectName": String,
"FlowProjectId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
FlowProjectName | String | No | Yes | The name of the project. | None. |
FlowProjectId | String | No | Yes | The ID of the project. | You can call the ListFlowProject operation to query the project IDs. |
Return values
Fn::GetAtt
- FlowProjects: the details of the projects.
- FlowProjectIds: the IDs of the projects.
Property | Type | Description | Constraint |
FlowProjectIds | List | The IDs of the projects. | None. |
FlowProjects | List | The details of the projects. | None. |
FlowProjectId | String | The ID of the project. | None. |
UserId | String | The ID of the Alibaba Cloud account. | None. |
FlowProjectName | String | The name of the project. | None. |
GmtModified | String | The time when the project was modified. | None. |
CreateTime | String | The time when the project was created. | None. |
Description | String | The description of the project. | None. |
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "FlowProjectId": { "Type": "String", "Description": "The first ID of the resource" } }, "Resources": { "ExtensionDataSource": { "Type": "DATASOURCE::EMR::FlowProjects", "Properties": { "FlowProjectId": { "Ref": "FlowProjectId" } } } }, "Outputs": { "FlowProjects": { "Description": "The list of flow projects.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "FlowProjects" ] } }, "FlowProjectIds": { "Description": "The list of flow project IDs.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "FlowProjectIds" ] } } } }