A database secret.
import { DatabaseSecret } from 'aws-cdk-lib/aws-docdb';Or use the module namespace:
import * as docdb from 'aws-cdk-lib/aws-docdb';
// docdb.DatabaseSecretConfiguration passed to the constructor as DatabaseSecretProps.
usernameRequiredstringThe username.
encryptionKeyOptionalIKeyThe KMS key to use to encrypt the secret.
Default: default master key
excludeCharactersOptionalstringCharacters to not include in the generated password.
Default: "\"@/"
masterSecretOptionalISecretThe master secret which will be used to rotate this secret.
Default: - no master secret information will be included
secretNameOptionalstringThe physical name of the secret.
Default: Secretsmanager will generate a physical name for the secret
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-docdb