Experimental
@aws-cdk/aws-redshift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
DatabaseSecretProps Struct
Construction properties for a DatabaseSecret.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as redshift_alpha from '@aws-cdk/aws-redshift-alpha';
import { aws_kms as kms } from 'aws-cdk-lib';
declare const key: kms.Key;
const databaseSecretProps: redshift_alpha.DatabaseSecretProps = {
username: 'username',
// the properties below are optional
encryptionKey: key,
excludeCharacters: 'excludeCharacters',
};
Properties
encryptionKeyoptionalIKeyencryption_keyoptionalIKeyencryptionKeyoptionalIKeyEncryptionKeyoptionalIKeyEncryptionKeyoptionalIKey#The KMS key to use to encrypt the secret.
Default: default master key
excludeCharactersoptionalstringexclude_charactersoptionalstrexcludeCharactersoptionalStringExcludeCharactersoptionalstringExcludeCharactersoptional*string#Characters to not include in the generated password.
Default: '"@/\\ ''
The username.