ALIYUN::EMR::FlowProject类型用于创建数据开发项目。

语法

{
  "Type": "ALIYUN::EMR::FlowProject",
  "Properties": {
    "Description": String,
    "FlowProjectName": String,
    "ResourceGroupId": String
  }
}

属性

属性名称类型必须允许更新描述约束
DescriptionString项目描述。
FlowProjectNameString项目名称。
ResourceGroupIdStringEMR实例和节点ECS实例所在的企业资源组ID。

返回值

Fn::GetAtt

  • FlowProjectName:项目名称。
  • Description:项目描述。
  • UserId:阿里云账号ID。
  • CreateTime:创建时间。
  • FlowProjectId:项目ID。
  • GmtModified:修改时间。

示例

  • YAML格式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters: {}
    Resources:
      ExtensionResource:
        Type: ALIYUN::EMR::FlowProject
        Properties:
          Description: TestFlowProjectDescription
          FlowProjectName: TestFlowProject
    Outputs:
      FlowProjectName:
        Description: The name of the project.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - FlowProjectName
      Description:
        Description: The description of the project.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - Description
      UserId:
        Description: The ID of the primary account.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - UserId
      CreateTime:
        Description: The time when the project was created.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - CreateTime
      FlowProjectId:
        Description: The ID of the project.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - FlowProjectId
      GmtModified:
        Description: The time when the project was modified.
        Value:
          Fn::GetAtt:
            - ExtensionResource
            - GmtModified
  • JSON格式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
      },
      "Resources": {
        "ExtensionResource": {
          "Type": "ALIYUN::EMR::FlowProject",
          "Properties": {
            "Description": "TestFlowProjectDescription",
            "FlowProjectName": "TestFlowProject"
          }
        }
      },
      "Outputs": {
        "FlowProjectName": {
          "Description": "The name of the project.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "FlowProjectName"
            ]
          }
        },
        "Description": {
          "Description": "The description of the project.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "Description"
            ]
          }
        },
        "UserId": {
          "Description": "The ID of the primary account.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "UserId"
            ]
          }
        },
        "CreateTime": {
          "Description": "The time when the project was created.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "CreateTime"
            ]
          }
        },
        "FlowProjectId": {
          "Description": "The ID of the project.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "FlowProjectId"
            ]
          }
        },
        "GmtModified": {
          "Description": "The time when the project was modified.",
          "Value": {
            "Fn::GetAtt": [
              "ExtensionResource",
              "GmtModified"
            ]
          }
        }
      }
    }