All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::DATAHUB::Project

Last Updated:Aug 25, 2026

The ALIYUN::DATAHUB::Project resource creates a DataHub project.

You can create DataHub projects in the following regions:

  • China (Hangzhou)

  • China (Shanghai)

  • China (Beijing)

  • China (Zhangjiakou)

  • China (Shenzhen)

  • Singapore

  • Malaysia (Kuala Lumpur)

  • Germany (Frankfurt)

Syntax

{
  "Type": "ALIYUN::DATAHUB::Project",
  "Properties": {
    "Comment": String,
    "ProjectName": String
  }
}

Properties

Property name

Type

Required

Update allowed

Description

Constraints

Comment

String

Yes

No

Description

The value must be 3 to 1024 bytes in length.

ProjectName

String

Yes

No

The name of the project.

The name must be 3 to 32 characters in length. It must start with a lowercase letter and can contain digits, letters (case-sensitive), and underscores (_).

Return value

Fn::GetAtt

ProjectName: The name of the project.

Examples

YAML format

ROSTemplateFormatVersion: '2015-09-01'
Description: Test DataHub Project
Parameters:
  ProjectName:
    Type: String
    Default: mytest
Resources:
  Project:
    Type: ALIYUN::DATAHUB::Project
    Properties:
      Comment: Topic Project
      ProjectName:
        Ref: ProjectName
Outputs:
  Project:
    Value:
      Fn::GetAtt:
        - Project
        - ProjectName

JSON Format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Description": "Test DataHub Project",
  "Parameters": {
    "ProjectName": {
      "Type": "String",
      "Default": "mytest"
    }
  },
  "Resources": {
    "Project": {
      "Type": "ALIYUN::DATAHUB::Project",
      "Properties": {
        "Comment": "Topic Project",
        "ProjectName": {
          "Ref": "ProjectName"
        }
      }
    }
  },
  "Outputs": {
    "Project": {
      "Value": {
        "Fn::GetAtt": [
          "Project",
          "ProjectName"
        ]
      }
    }
  }
}