ALIYUN::DLF::Catalog digunakan untuk membuat katalog di Data Lake Formation (DLF).
Sintaksis
{
"Type": "ALIYUN::DLF::Catalog",
"Properties": {
"Owner": String,
"LocationUri": String,
"Description": String,
"CatalogId": String
}
}Properti
| Properti | Tipe | Diperlukan | Dapat Diedit | Deskripsi | Kendala |
| Owner | String | Tidak | Ya | Informasi tentang pengguna. | Tidak ada. |
| LocationUri | String | Tidak | Ya | Uniform Resource Identifier (URI) lokasi dari database. | Contoh: /hdfs/hivedb/data. |
| Description | String | Tidak | Ya | Deskripsi katalog. | Tidak ada. |
| CatalogId | String | Ya | Tidak | ID katalog. | Secara default, ID akun Alibaba Cloud Anda digunakan. |
Nilai Pengembalian
Fn::GetAtt
CatalogId: ID katalog.
Contoh
JSONformat{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "CatalogId": { "Type": "String", "Description": "ID Katalog", "AllowedPattern": "^[a-zA-Z][a-zA-Z0-9_]{1,255}" } }, "Resources": { "Catalog": { "Type": "ALIYUN::DLF::Catalog", "Properties": { "CatalogId": { "Ref": "CatalogId" } } } }, "Outputs": { "CatalogId": { "Description": "ID Katalog", "Value": { "Fn::GetAtt": [ "Catalog", "CatalogId" ] } } } }