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 |
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. |
TablePrivileges(table, ...actions)
addpublic addTablePrivileges(table: ITable, ...actions: TableAction[]): void
Parameters
- table
ITable
- actions
Table
Action
Grant this user privilege to access a table.