Interface IDatabaseSecretProps
(experimental) Construction properties for a DatabaseSecret.
Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.dll
Syntax (csharp)
public interface IDatabaseSecretProps
Syntax (vb)
Public Interface IDatabaseSecretProps
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Redshift.Alpha;
using Amazon.CDK.AWS.KMS;
Key key;
var databaseSecretProps = new DatabaseSecretProps {
Username = "username",
// the properties below are optional
EncryptionKey = key,
ExcludeCharacters = "excludeCharacters"
};
Synopsis
Properties
EncryptionKey | (experimental) The KMS key to use to encrypt the secret. |
ExcludeCharacters | (experimental) Characters to not include in the generated password. |
Username | (experimental) The username. |
Properties
EncryptionKey
(experimental) The KMS key to use to encrypt the 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
Username
(experimental) The username.
string Username { get; }
Property Value
Remarks
Stability: Experimental