Login

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

Bases: object

__init__(*, master_username, encryption_key=None, master_password=None)

Username and password combination.

Parameters
  • master_username (str) – Username.

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

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

stability :stability: experimental

Return type

None

Attributes

encryption_key

KMS encryption key to encrypt the generated secret.

default :default: default master key

stability :stability: experimental

Return type

Optional[IKey]

master_password

Password.

Do not put passwords in your CDK code directly.

default :default: a Secrets Manager generated password

stability :stability: experimental

Return type

Optional[SecretValue]

master_username

Username.

stability :stability: experimental

Return type

str