Show / Hide Table of Contents

Class Login

(experimental) Username and password combination.

Inheritance
object
Login
Implements
ILogin
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.dll
Syntax (csharp)
public class Login : ILogin
Syntax (vb)
Public Class Login Implements 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

Constructors

Login()

(experimental) Username and password combination.

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.

Constructors

Login()

(experimental) Username and password combination.

public Login()
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"
             });

Properties

EncryptionKey

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

public IKey? EncryptionKey { get; set; }
Property Value

IKey

Remarks

Default: - default master key

Stability: Experimental

ExcludeCharacters

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

public string? ExcludeCharacters { get; set; }
Property Value

string

Remarks

Default: '"@/\\ ''

Stability: Experimental

MasterPassword

(experimental) Password.

public SecretValue? MasterPassword { get; set; }
Property Value

SecretValue

Remarks

Do not put passwords in your CDK code directly.

Default: - a Secrets Manager generated password

Stability: Experimental

MasterUsername

(experimental) Username.

public string MasterUsername { get; set; }
Property Value

string

Remarks

Stability: Experimental

Implements

ILogin
Back to top Generated by DocFX