O tipo ALIYUN::DataLakeFormation::Catalog cria um catálogo de dados no Data Lake Formation.
Sintaxe
{
"Type": "ALIYUN::DataLakeFormation::Catalog",
"Properties": {
"Name": String,
"IsShared": Boolean,
"Options": Map,
"ShareId": String,
"Type": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Atualização permitida |
Descrição |
Restrições |
|
Name |
String |
Sim |
Não |
Nome do catálogo de dados. |
Nenhuma |
|
IsShared |
Boolean |
Não |
Não |
Indica se o catálogo de dados é compartilhado. |
Nenhuma |
|
Options |
Map |
Não |
Não |
Parâmetros de configuração do catálogo de dados. |
Nenhuma |
|
ShareId |
String |
Não |
Não |
ID de compartilhamento do catálogo de dados. |
Nenhuma |
|
Type |
String |
Não |
Não |
Tipo do catálogo de dados. |
Nenhuma |
Valores de retorno
Fn::GetAtt
Options: parâmetros de configuração do catálogo de dados.
Type: tipo do catálogo de dados.
ShareId: ID de compartilhamento do catálogo de dados.
IsShared: indica se o catálogo de dados é compartilhado.
CatalogId: ID do catálogo de dados.
Name: nome do catálogo de dados.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Name:
Type: String
Description: The name of the data catalog.
AllowedPattern: ^[a-zA-Z][a-zA-Z0-9_]{1,255}$
Required: true
Resources:
Catalog:
Type: ALIYUN::DataLakeFormation::Catalog
Properties:
Name:
Ref: Name
Outputs:
Options:
Description: The configuration parameters for the data catalog.
Value:
Fn::GetAtt:
- Catalog
- Options
Type:
Description: The type of the data catalog.
Value:
Fn::GetAtt:
- Catalog
- Type
ShareId:
Description: The shared ID of the data catalog.
Value:
Fn::GetAtt:
- Catalog
- ShareId
IsShared:
Description: Indicates whether the data catalog is shared.
Value:
Fn::GetAtt:
- Catalog
- IsShared
CatalogId:
Description: The ID of the data catalog.
Value:
Fn::GetAtt:
- Catalog
- CatalogId
Name:
Description: The name of the data catalog.
Value:
Fn::GetAtt:
- Catalog
- Name
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Name": {
"Type": "String",
"Description": "The name of the data catalog.",
"AllowedPattern": "^[a-zA-Z][a-zA-Z0-9_]{1,255}$",
"Required": true
}
},
"Resources": {
"Catalog": {
"Type": "ALIYUN::DataLakeFormation::Catalog",
"Properties": {
"Name": {
"Ref": "Name"
}
}
}
},
"Outputs": {
"Options": {
"Description": "The configuration parameters for the data catalog.",
"Value": {
"Fn::GetAtt": [
"Catalog",
"Options"
]
}
},
"Type": {
"Description": "The type of the data catalog.",
"Value": {
"Fn::GetAtt": [
"Catalog",
"Type"
]
}
},
"ShareId": {
"Description": "The shared ID of the data catalog.",
"Value": {
"Fn::GetAtt": [
"Catalog",
"ShareId"
]
}
},
"IsShared": {
"Description": "Indicates whether the data catalog is shared.",
"Value": {
"Fn::GetAtt": [
"Catalog",
"IsShared"
]
}
},
"CatalogId": {
"Description": "The ID of the data catalog.",
"Value": {
"Fn::GetAtt": [
"Catalog",
"CatalogId"
]
}
},
"Name": {
"Description": "The name of the data catalog.",
"Value": {
"Fn::GetAtt": [
"Catalog",
"Name"
]
}
}
}
}