UserAttributes

class aws_cdk.aws_redshift.UserAttributes(*, cluster, database_name, admin_user=None, password, username)

Bases: aws_cdk.aws_redshift.DatabaseOptions

(experimental) A full specification of a Redshift user that can be used to import it fluently into the CDK application.

Parameters
  • cluster (ICluster) – (experimental) The cluster containing the database.

  • database_name (str) – (experimental) The name of the database.

  • admin_user (Optional[ISecret]) – (experimental) The secret containing credentials to a Redshift user with administrator privileges. Secret JSON schema: { username: string; password: string }. Default: - the admin secret is taken from the cluster

  • password (SecretValue) – (experimental) The password of the user. Do not put passwords in CDK code directly.

  • username (str) – (experimental) The name of the user.

Stability

experimental

Attributes

admin_user

(experimental) The secret containing credentials to a Redshift user with administrator privileges.

Secret JSON schema: { username: string; password: string }.

Default
  • the admin secret is taken from the cluster

Stability

experimental

Return type

Optional[ISecret]

cluster

(experimental) The cluster containing the database.

Stability

experimental

Return type

ICluster

database_name

(experimental) The name of the database.

Stability

experimental

Return type

str

password

(experimental) The password of the user.

Do not put passwords in CDK code directly.

Stability

experimental

Return type

SecretValue

username

(experimental) The name of the user.

Stability

experimental

Return type

str