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:
Never (default): does not refresh data source resources when the stack is updated.
Always: refreshes data source resources when the stack is updated.
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 description of the project.
None.
Examples
JSON
YAML
{"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"]}}}}