interface ITable
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Redshift.Alpha.ITable |
Go | github.com/aws/aws-cdk-go/awscdkredshiftalpha/v2#ITable |
Java | software.amazon.awscdk.services.redshift.alpha.ITable |
Python | aws_cdk.aws_redshift_alpha.ITable |
TypeScript (source) | @aws-cdk/aws-redshift-alpha ยป ITable |
Implemented by
Table
Obtainable from
Table.fromTableAttributes()
Represents a table in a Redshift database.
Properties
| Name | Type | Description |
|---|---|---|
| cluster | ICluster | The cluster where the table is located. |
| database | string | The name of the database where the table is located. |
| node | Node | The tree node. |
| table | Column[] | The columns of the table. |
| table | string | Name of the table. |
cluster
Type:
ICluster
The cluster where the table is located.
databaseName
Type:
string
The name of the database where the table is located.
node
Type:
Node
The tree node.
tableColumns
Type:
Column[]
The columns of the table.
tableName
Type:
string
Name of the table.
Methods
| Name | Description |
|---|---|
| grant(user, ...actions) | Grant a user privilege to access this table. |
grant(user, ...actions)
public grant(user: IUser, ...actions: TableAction[]): void
Parameters
- user
IUser - actions
TableAction
Grant a user privilege to access this table.

.NET
Go
Java
Python
TypeScript (