Login

class aws_cdk.aws_docdb.Login(*, username, kms_key=None, password=None)

Bases: object

Login credentials for a database cluster.

Parameters
  • username (str) – Username.

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

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

Attributes

kms_key

KMS encryption key to encrypt the generated secret.

Default

default master key

Return type

Optional[IKey]

password

Password.

Do not put passwords in your CDK code directly.

Default

a Secrets Manager generated password

Return type

Optional[SecretValue]

username

Username.

Return type

str