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 AWS 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
orColumnWildcard
is required.Required: No
Type: Array of String
Update requires: Replacement
ColumnWildcard
-
A wildcard specified by a
ColumnWildcard
object. At least one ofColumnNames
orColumnWildcard
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
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Minimum:
1
Maximum:
255
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
Pattern:
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*
Minimum:
1
Maximum:
255
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”