All Products
Search
Document Center

Resource Orchestration Service:DATASOURCE::EMR::FlowProjects

Last Updated:Oct 29, 2024

DATASOURCE::EMR::FlowProjects is used to query projects.

Syntax

{
  "Type": "DATASOURCE::EMR::FlowProjects",
  "Properties": {
    "FlowProjectName": String,
    "FlowProjectId": String
  }
}

Properties

PropertyTypeRequiredEditableDescriptionConstraint
FlowProjectNameStringNoYesThe name of the project. None.
FlowProjectIdStringNoYesThe 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.
PropertyTypeDescriptionConstraint
FlowProjectIdsListThe IDs of the projects. None.
FlowProjectsListThe details of the projects. None.
FlowProjectIdStringThe ID of the project. None.
UserIdStringThe ID of the Alibaba Cloud account. None.
FlowProjectNameStringThe name of the project. None.
GmtModifiedStringThe time when the project was modified. None.
CreateTimeStringThe time when the project was created. None.
DescriptionStringThe 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"
            ]
          }
        }
      }
    }
  • YAML format

    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