interface TableWithColumnsResourceProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.LakeFormation.CfnPermissions.TableWithColumnsResourceProperty |
Java | software.amazon.awscdk.services.lakeformation.CfnPermissions.TableWithColumnsResourceProperty |
Python | aws_cdk.aws_lakeformation.CfnPermissions.TableWithColumnsResourceProperty |
TypeScript | @aws-cdk/aws-lakeformation » CfnPermissions » 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 * as lakeformation from '@aws-cdk/aws-lakeformation';
const tableWithColumnsResourceProperty: lakeformation.CfnPermissions.TableWithColumnsResourceProperty = {
catalogId: 'catalogId',
columnNames: ['columnNames'],
columnWildcard: {
excludedColumnNames: ['excludedColumnNames'],
},
databaseName: 'databaseName',
name: 'name',
};
Properties
Name | Type | Description |
---|---|---|
catalog | string | The identifier for the Data Catalog . |
column | string[] | The list of column names for the table. |
column | IResolvable | Column | A wildcard specified by a ColumnWildcard object. |
database | string | The name of the database for the table with columns resource. |
name? | string | The name of the table resource. |
catalogId?
Type:
string
(optional)
The identifier for the Data Catalog .
By default, it is the account ID of the caller.
columnNames?
Type:
string[]
(optional)
The list of column names for the table.
At least one of ColumnNames
or ColumnWildcard
is required.
columnWildcard?
Type:
IResolvable
|
Column
(optional)
A wildcard specified by a ColumnWildcard
object.
At least one of ColumnNames
or ColumnWildcard
is required.
databaseName?
Type:
string
(optional)
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
(optional)
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.