Skip to content
v2.273.0

TableResourceProperty Struct ​

A structure for the table object.

A table is a metadata definition that represents your data. You can Grant and Revoke table privileges to a principal.

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';

declare const tableWildcard: any;
const tableResourceProperty: lakeformation.CfnPrincipalPermissions.TableResourceProperty = {
  catalogId: 'catalogId',
  databaseName: 'databaseName',

  // the properties below are optional
  name: 'name',
  tableWildcard: tableWildcard,
};

Properties ​

catalogIdstringcatalog_idstrcatalogIdStringCatalogIdstringCatalogId*stringrequired#
The identifier for the Data Catalog.

By default, it is the account ID of the caller.

databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*stringrequired#
The name of the database for the table.

Unique to a 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*string#
The name of the table.
tableWildcardanytable_wildcardAnytableWildcardObjectTableWildcardobjectTableWildcardinterface{}#
A wildcard object representing every table under a database.

At least one of TableResource$Name or TableResource$TableWildcard is required.