interface ITable
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Redshift.ITable |
Java | software.amazon.awscdk.services.redshift.ITable |
Python | aws_cdk.aws_redshift.ITable |
TypeScript (source) | @aws-cdk/aws-redshift 禄 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 | Construct | The construct tree node for this construct. |
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:
Construct
The construct tree node for this construct.
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
Table
Action
Grant a user privilege to access this table.