ALIYUN::DATAHUB::Project is used to create a DATAHUB Project.
Alibaba Cloud supports creating data bus projects in the following regions:
- China (Hangzhou)
- China (Shanghai)
- China (Beijing)
- China (Zhangjiakou)
- China (Shenzhen)
- Singapore (Singapore)
- Malaysia (Kuala Lumpur)
- Germany (Frankfurt)
- India (Mumbai)
Syntax
{
"Type": "ALIYUN::DATAHUB::Project",
"Properties": {
"Comment": String,
"ProjectName": String
}
}
Properties
Parameter | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
Comment | String | Yes | Not supported | Description | The value must be 3 to 1,024 bytes in length. |
ProjectName | String | Yes | Not supported | Project Name | The name must be 3 to 32 characters in length. It must start with a lowercase letter and can contain letters, digits, and underscores (_). |
Return value
Fn::GetAtt
ProjectName: The name of the project.
Sample success responses
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"Project": {
"Type": "ALIYUN::DATAHUB::Project",
"Properties": {
"Comment": {
"Ref": "Comment"
},
"ProjectName": {
"Ref": "ProjectName"
}
}
}
},
"Parameters": {
"Comment": {
"Type": "String",
"Description": "The comment of project.",
"MaxLength": 1024
},
"ProjectName": {
"MinLength": 3,
"Type": "String",
"Description": "The name of the project. Length [3, 32]. Beginning with characters, only characters, numbers and _ are allowed.",
"MaxLength": 32
}
},
"Outputs": {
"ProjectName": {
"Description": "Project name",
"Value": {
"Fn::GetAtt": [
"Project",
"ProjectName"
]
}
}
}
}