Queries the list of EMR flow projects.
Syntax
{
"Type": "DATASOURCE::EMR::FlowProjects",
"Properties": {
"FlowProjectName": String,
"FlowProjectId": String,
"RefreshOptions": String
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
FlowProjectName |
String |
No |
Yes |
The project name. |
None. |
|
FlowProjectId |
String |
No |
Yes |
The project ID. |
You can call the ListFlowProject operation to query the project ID. |
|
RefreshOptions |
String |
No |
Yes |
The refresh policy for data source resources when the stack is updated. |
Valid values:
|
Return values
Fn::GetAtt
-
FlowProjects: details of the projects.
-
FlowProjectIds: the IDs of the projects.
|
Property |
Type |
Description |
Constraint |
|
FlowProjectIds |
List |
The IDs of the projects. |
None. |
|
FlowProjects |
List |
Details of the projects. |
None. |
|
FlowProjectId |
String |
The project ID. |
None. |
|
UserId |
String |
The ID of the Alibaba Cloud account. |
None. |
|
FlowProjectName |
String |
The project name. |
None. |
|
GmtModified |
String |
The modification time. |
None. |
|
CreateTime |
String |
The creation time. |
None. |
|
Description |
String |
The project description. |
None. |
Examples
{
"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"
]
}
}
}
}ROSTemplateFormatVersion: '2015-09-01'
Parameters:
FlowProjectId:
Description: The first ID of the resource
Type: String
Resources:
ExtensionDataSource:
Properties:
FlowProjectId:
Ref: FlowProjectId
Type: DATASOURCE::EMR::FlowProjects
Outputs:
FlowProjectIds:
Description: The list of flow project IDs.
Value:
Fn::GetAtt:
- ExtensionDataSource
- FlowProjectIds
FlowProjects:
Description: The list of flow projects.
Value:
Fn::GetAtt:
- ExtensionDataSource
- FlowProjects