interface IUser
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Redshift.IUser |
Java | software.amazon.awscdk.services.redshift.IUser |
Python | aws_cdk.aws_redshift.IUser |
TypeScript (source) | @aws-cdk/aws-redshift » IUser |
Implemented by
User
Obtainable from
User.fromUserAttributes()
Represents a user 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. |
| password | Secret | The password of the user. |
| username | string | The name of the user. |
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.
password
Type:
Secret
The password of the user.
username
Type:
string
The name of the user.
Methods
| Name | Description |
|---|---|
| add | Grant this user privilege to access a table. |
addTablePrivileges(table, ...actions)
public addTablePrivileges(table: ITable, ...actions: TableAction[]): void
Parameters
- table
ITable - actions
TableAction
Grant this user privilege to access a table.

.NET
Java
Python
TypeScript (