data_catalog
Gets an individual data_catalog
resource
Overview
Name | data_catalog |
Type | Resource |
Description | data_catalog |
Id | awscc.athena.data_catalog |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters. |
description | string | A description of the data catalog to be created. |
parameters | object | Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type. |
tags | array | A list of comma separated tags to add to the data catalog that is created. |
type | string | The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
name,
description,
parameters,
tags,
type
FROM awscc.athena.data_catalog
WHERE data__Identifier = '<Name>';
Permissions
To operate on the data_catalog
resource, the following permissions are required:
Read
athena:GetDataCatalog,
athena:ListTagsForResource
Update
athena:UpdateDataCatalog,
athena:TagResource,
athena:GetDataCatalog,
athena:UntagResource,
athena:ListTagsForResource
Delete
athena:DeleteDataCatalog