Skip to content
v2.277.0

Experimental

@aws-cdk/aws-redshift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ITable Interface ​

Represents a table in a Redshift database.

Properties ​

clusterIClusterclusterIClusterclusterIClusterClusterIClusterClusterICluster #
The cluster where the table is located.
databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*string #
The name of the database where the table is located.
nodeNodenodeNodenodeNodeNodeNodeNodeNode #
The tree node.
tableColumnsColumn[]table_columnstyping.List[Column]tableColumnsList<Column>TableColumnsColumn[]TableColumns*[]Column #
The columns of the table.
tableNamestringtable_namestrtableNameStringTableNamestringTableName*string #
Name of the table.

Methods ​

grant(user: IUser, ...actions: TableAction[]): voiddef grant(self, user: IUser, actions: TableAction) -> Nonepublic void grant(IUser user, TableAction actions)public void Grant(IUser user, TableAction actions)func Grant(User IUser, Actions TableAction) #
Grant a user privilege to access this table.
with(...mixins: IMixin[]): IConstructdef with(self, mixins: IMixin) -> IConstructpublic IConstruct with(IMixin mixins)public IConstruct With(IMixin mixins)func With(Mixins IMixin) IConstruct #
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.

1 parameter · returns

Parameters

  • mixinsmixinsmixinsmixinsMixins — The mixins to apply.

Returns: This construct for chaining