Skip to content
v2.273.0

Experimental

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

IUser Interface ​

Represents a user in a Redshift database.

Properties ​

clusterIClusterclusterIClusterclusterIClusterClusterIClusterClusterIClusterrequired#
The cluster where the table is located.
databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*stringrequired#
The name of the database where the table is located.
nodeNodenodeNodenodeNodeNodeNodeNodeNoderequired#
The tree node.
passwordSecretValuepasswordSecretValuepasswordSecretValuePasswordSecretValuePasswordSecretValuerequired#
The password of the user.
usernamestringusernamestrusernameStringUsernamestringUsername*stringrequired#
The name of the user.

Methods ​

addTablePrivileges(table: ITable, ...actions: TableAction[]): voiddef add_table_privileges(self, table: ITable, actions: TableAction) -> Nonepublic void addTablePrivileges(ITable table, TableAction actions)public void AddTablePrivileges(ITable table, TableAction actions)func AddTablePrivileges(Table ITable, Actions TableAction)#
Grant this user privilege to access a 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