Class DatabaseSecretProps
(experimental) Construction properties for a DatabaseSecret.
Inheritance
System.Object
DatabaseSecretProps
Implements
Namespace: Amazon.CDK.AWS.Redshift
Assembly: Amazon.CDK.AWS.Redshift.dll
Syntax (csharp)
public class DatabaseSecretProps : Object, IDatabaseSecretProps
Syntax (vb)
Public Class DatabaseSecretProps
Inherits Object
Implements 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.KMS;
using Amazon.CDK.AWS.Redshift;
Key key;
var databaseSecretProps = new DatabaseSecretProps {
Username = "username",
// the properties below are optional
EncryptionKey = key
};
Synopsis
Constructors
DatabaseSecretProps() |
Properties
EncryptionKey | (experimental) The KMS key to use to encrypt the secret. |
Username | (experimental) The username. |
Constructors
DatabaseSecretProps()
public DatabaseSecretProps()
Properties
EncryptionKey
(experimental) The KMS key to use to encrypt the secret.
public IKey EncryptionKey { get; set; }
Property Value
Remarks
Default: default master key
Stability: Experimental
Username
(experimental) The username.
public string Username { get; set; }
Property Value
System.String
Remarks
Stability: Experimental