@aws-cdk_aws-redshift-alpha.IUser

interface IUser ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Redshift.Alpha.IUser
Gogithub.com/aws/aws-cdk-go/awscdkredshiftalpha/v2#IUser
Javasoftware.amazon.awscdk.services.redshift.alpha.IUser
Pythonaws_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

NameTypeDescription
cluster๐Ÿ”นIClusterThe cluster where the table is located.
databaseName๐Ÿ”นstringThe name of the database where the table is located.
node๐Ÿ”นNodeThe tree node.
password๐Ÿ”นSecretValueThe password of the user.
username๐Ÿ”นstringThe 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: SecretValue

The password of the user.


username๐Ÿ”น

Type: string

The name of the user.

Methods

NameDescription
addTablePrivileges(table, ...actions)๐Ÿ”น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.