interface IUser
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Redshift.Alpha.IUser |
Go | github.com/aws/aws-cdk-go/awscdkredshiftalpha/v2#IUser |
Java | software.amazon.awscdk.services.redshift.alpha.IUser |
Python | aws_cdk.aws_redshift_alpha.IUser |
TypeScript (source) | @aws-cdk/aws-redshift-alpha ยป IUser |
Implements
IDependable, IConstruct
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 | Node | The tree node. |
| 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:
Node
The tree node.
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. |
| with(...mixins) | Applies one or more mixins to this construct. |
addTablePrivileges(table, ...actions)
public addTablePrivileges(table: ITable, ...actions: TableAction[]): void
Parameters
- table
ITable - actions
TableAction
Grant this user privilege to access a 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 (