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 |
Implements
IDependable, IConstruct
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. |
| with(...mixins) | Applies one or more mixins to this construct. |
grant(user, ...actions)
public grant(user: IUser, ...actions: TableAction[]): void
Parameters
- user
IUser - actions
TableAction
Grant a user privilege to access this table.
with(...mixins)
public with(...mixins: IMixin[]): IConstruct
Parameters
- mixins
IMixinโ The mixins to apply.
Returns
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the start of the call, so constructs added by a mixin will not be visited.

.NET
Go
Java
Python
TypeScript (