AWS::LakeFormation::Permissions TableWithColumnsResource - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::LakeFormation::Permissions TableWithColumnsResource

A structure for a table with columns object. This object is only used when granting a SELECT permission.

This object must take a value for at least one of ColumnsNames, ColumnsIndexes, or ColumnsWildcard.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "CatalogId" : String, "ColumnNames" : [ String, ... ], "ColumnWildcard" : ColumnWildcard, "DatabaseName" : String, "Name" : String }

YAML

CatalogId: String ColumnNames: - String ColumnWildcard: ColumnWildcard DatabaseName: String Name: String

Properties

CatalogId

The identifier for the Data Catalog. By default, it is the account ID of the caller.

Required: No

Type: String

Update requires: Replacement

ColumnNames

The list of column names for the table. At least one of ColumnNames or ColumnWildcard is required.

Required: No

Type: Array of String

Update requires: Replacement

ColumnWildcard

A wildcard specified by a ColumnWildcard object. At least one of ColumnNames or ColumnWildcard is required.

Required: No

Type: ColumnWildcard

Update requires: Replacement

DatabaseName

The name of the database for the table with columns resource. Unique to the Data Catalog. A database is a set of associated table definitions organized into a logical group. You can Grant and Revoke database privileges to a principal.

Required: No

Type: String

Update requires: Replacement

Name

The name of the table resource. A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.

Required: No

Type: String

Update requires: Replacement

Examples

Input format for TableWithColumnsResource

JSON

{ "CatalogId" : “123456789012”, "ColumnNames" : [ “col1”, “col2” ], "DatabaseName" : “my_database”, "Name" : “my_table” }

YAML

CatalogId: “123456789012” ColumnNames: - “col1” DatabaseName: “my_database” Name: “my_table”