aws-cdk-lib.aws_lakeformation.CfnPrincipalPermissions.TableResourceProperty

interface TableResourceProperty

LanguageType name
.NETAmazon.CDK.AWS.LakeFormation.CfnPrincipalPermissions.TableResourceProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslakeformation#CfnPrincipalPermissions_TableResourceProperty
Javasoftware.amazon.awscdk.services.lakeformation.CfnPrincipalPermissions.TableResourceProperty
Pythonaws_cdk.aws_lakeformation.CfnPrincipalPermissions.TableResourceProperty
TypeScript aws-cdk-lib » aws_lakeformation » CfnPrincipalPermissions » TableResourceProperty

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

// 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

NameTypeDescription
catalogIdstringCfnPrincipalPermissions.TableResourceProperty.CatalogId.
databaseNamestringThe name of the database for the table.
name?stringThe name of the table.
tableWildcard?anyA wildcard object representing every table under a database.

catalogId

Type: string

CfnPrincipalPermissions.TableResourceProperty.CatalogId.


databaseName

Type: string

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.


name?

Type: string (optional)

The name of the table.


tableWildcard?

Type: any (optional)

A wildcard object representing every table under a database.

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