Show / Hide Table of Contents

Interface ILogin

(experimental) Username and password combination.

Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.dll
Syntax (csharp)
public interface ILogin
Syntax (vb)
Public Interface ILogin
Remarks

Stability: Experimental

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.EC2;
             using Amazon.CDK;
             Vpc vpc;

             new Cluster(this, "Redshift", new ClusterProps {
                 MasterUser = new Login {
                     MasterUsername = "admin",
                     MasterPassword = SecretValue.UnsafePlainText("tooshort")
                 },
                 Vpc = vpc,
                 PubliclyAccessible = true,
                 ElasticIp = "10.123.123.255"
             });

Synopsis

Properties

EncryptionKey

(experimental) KMS encryption key to encrypt the generated secret.

ExcludeCharacters

(experimental) Characters to not include in the generated password.

MasterPassword

(experimental) Password.

MasterUsername

(experimental) Username.

Properties

EncryptionKey

(experimental) KMS encryption key to encrypt the generated secret.

IKey? EncryptionKey { get; }
Property Value

IKey

Remarks

Default: - default master key

Stability: Experimental

ExcludeCharacters

(experimental) Characters to not include in the generated password.

string? ExcludeCharacters { get; }
Property Value

string

Remarks

Default: '"@/\\ ''

Stability: Experimental

MasterPassword

(experimental) Password.

SecretValue? MasterPassword { get; }
Property Value

SecretValue

Remarks

Do not put passwords in your CDK code directly.

Default: - a Secrets Manager generated password

Stability: Experimental

MasterUsername

(experimental) Username.

string MasterUsername { get; }
Property Value

string

Remarks

Stability: Experimental

Back to top Generated by DocFX