Login

class aws_cdk.aws_redshift.Login(*, master_username, encryption_key=None, master_password=None)

Bases: object

(experimental) Username and password combination.

Parameters
  • master_username (str) – (experimental) Username.

  • encryption_key (Optional[IKey]) – (experimental) KMS encryption key to encrypt the generated secret. Default: default master key

  • master_password (Optional[SecretValue]) – (experimental) Password. Do not put passwords in your CDK code directly. Default: a Secrets Manager generated password

Stability

experimental

Attributes

encryption_key

(experimental) KMS encryption key to encrypt the generated secret.

Default

default master key

Stability

experimental

Return type

Optional[IKey]

master_password

(experimental) Password.

Do not put passwords in your CDK code directly.

Default

a Secrets Manager generated password

Stability

experimental

Return type

Optional[SecretValue]

master_username

(experimental) Username.

Stability

experimental

Return type

str