Skip to content
v2.276.0

TableWithColumnsResourceProperty Struct ​

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 .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lakeformation as lakeformation } from 'aws-cdk-lib';
const tableWithColumnsResourceProperty: lakeformation.CfnPrincipalPermissions.TableWithColumnsResourceProperty = {
  catalogId: 'catalogId',
  databaseName: 'databaseName',
  name: 'name',

  // the properties below are optional
  columnNames: ['columnNames'],
  columnWildcard: {
    excludedColumnNames: ['excludedColumnNames'],
  },
};

Properties ​

catalogIdstringcatalog_idstrcatalogIdStringCatalogIdstringCatalogId*stringrequired#
The identifier for the Data Catalog where the location is registered with AWS Lake Formation .
columnNamesoptionalstring[]column_namesoptionaltyping.List[str]columnNamesoptionalList<String>ColumnNamesoptionalstring[]ColumnNamesoptional*[]*string#
The list of column names for the table.

At least one of ColumnNames or ColumnWildcard is required.

columnWildcardoptionalIResolvable | CfnPrincipalPermissions.ColumnWildcardPropertycolumn_wildcardoptionaltyping.Union[IResolvable, ColumnWildcardProperty]columnWildcardoptionalIResolvableColumnWildcardoptionalIResolvableColumnWildcardoptionalinterface{}#
A wildcard specified by a `ColumnWildcard` object.

At least one of ColumnNames or ColumnWildcard is required.

databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*stringrequired#
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.

namestringnamestrnameStringNamestringName*stringrequired#
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.