interface Login
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Redshift.Login |
Java | software.amazon.awscdk.services.redshift.Login |
Python | aws_cdk.aws_redshift.Login |
TypeScript (source) | @aws-cdk/aws-redshift » Login |
Username and password combination.
Example
const user = new User(this, 'User', {
cluster: cluster,
databaseName: 'databaseName',
});
cluster.addRotationMultiUser('MultiUserRotation', {
secret: user.secret,
});
Properties
Name | Type | Description |
---|---|---|
master | string | Username. |
encryption | IKey | KMS encryption key to encrypt the generated secret. |
master | Secret | Password. |
masterUsername
Type:
string
Username.
encryptionKey?
Type:
IKey
(optional, default: default master key)
KMS encryption key to encrypt the generated secret.
masterPassword?
Type:
Secret
(optional, default: a Secrets Manager generated password)
Password.
Do not put passwords in your CDK code directly.