Login

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

Bases: object

__init__(*, username, kms_key=None, password=None)

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

stability :stability: experimental

Return type

None

Attributes

kms_key

KMS encryption key to encrypt the generated secret.

default :default: default master key

stability :stability: experimental

Return type

Optional[IKey]

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]

username

Username.

stability :stability: experimental

Return type

str