Show / Hide Table of Contents

Class DatabaseSecretProps

(experimental) Construction properties for a DatabaseSecret.

Inheritance
System.Object
DatabaseSecretProps
Implements
IDatabaseSecretProps
Namespace: Amazon.CDK.AWS.Redshift.Alpha
Assembly: Amazon.CDK.AWS.Redshift.Alpha.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.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

Constructors

DatabaseSecretProps()

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.

Constructors

DatabaseSecretProps()

public DatabaseSecretProps()

Properties

EncryptionKey

(experimental) The KMS key to use to encrypt the 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

System.String

Remarks

Default: '"@/\\ ''

Stability: Experimental

Username

(experimental) The username.

public string Username { get; set; }
Property Value

System.String

Remarks

Stability: Experimental

Implements

IDatabaseSecretProps
Back to top Generated by DocFX