All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::DLF::Catalog

Last Updated:Jun 23, 2026

Membuat katalog data untuk data lake.

Syntax

{
  "Type": "ALIYUN::DLF::Catalog",
  "Properties": {
    "Owner": String,
    "LocationUri": String,
    "Description": String,
    "CatalogId": String
  }
}

Properties

Property name Type Required Update allowed Description Constraints
Owner String No Yes Informasi pengguna. None
LocationUri String No Yes Detail lokasi. Contoh: /hdfs/hivedb/data.
Description String No Yes Deskripsi catalog. None
CatalogId String Yes No Namespace dari data catalog. Nilai default adalah ID akun Alibaba Cloud Anda.

Return values

Fn::GetAtt

CatalogId: Namespace dari klasifikasi database.

Examples

  • JSON format

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
        "CatalogId": {
          "Type": "String",
          "Description": "Catalog ID",
          "AllowedPattern": "^[a-zA-Z][a-zA-Z0-9_]{1,255}"
        }
      },
      "Resources": {
        "Catalog": {
          "Type": "ALIYUN::DLF::Catalog",
          "Properties": {
            "CatalogId": {
              "Ref": "CatalogId"
            }
          }
        }
      },
      "Outputs": {
        "CatalogId": {
          "Description": "Catalog ID",
          "Value": {
            "Fn::GetAtt": [
              "Catalog",
              "CatalogId"
            ]
          }
        }
      }
    }
  • YAML format

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters:
      CatalogId:
        AllowedPattern: ^[a-zA-Z][a-zA-Z0-9_]{1,255}
        Description: Catalog ID
        Type: String
    Resources:
      Catalog:
        Properties:
          CatalogId:
            Ref: CatalogId
        Type: ALIYUN::DLF::Catalog
    Outputs:
      CatalogId:
        Description: Catalog ID
        Value:
          Fn::GetAtt:
          - Catalog
          - CatalogId