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
Remarks
Default: - default master key
Stability: Experimental
ExcludeCharacters
(experimental) Characters to not include in the generated password.
string? ExcludeCharacters { get; }
Property Value
Remarks
Default: '"@/\\ ''
Stability: Experimental
MasterPassword
(experimental) Password.
SecretValue? MasterPassword { get; }
Property Value
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
Remarks
Stability: Experimental