aws-cdk-lib.aws_lakeformation.CfnTagAssociation.TableWithColumnsResourceProperty

interface TableWithColumnsResourceProperty

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

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

// 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.CfnTagAssociation.TableWithColumnsResourceProperty = {
  catalogId: 'catalogId',
  columnNames: ['columnNames'],
  databaseName: 'databaseName',
  name: 'name',
};

Properties

NameTypeDescription
catalogIdstringA wildcard object representing every table under a database.
columnNamesstring[]The list of column names for the table.
databaseNamestringThe name of the database for the table with columns resource.
namestringThe name of the table resource.

catalogId

Type: string

A wildcard object representing every table under a database.

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


columnNames

Type: string[]

The list of column names for the table.

At least one of ColumnNames or ColumnWildcard is required.


databaseName

Type: string

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.


name

Type: string

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.