@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:45.882Z")
public interface DatabaseSecretProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.kms.*; import software.amazon.awscdk.services.redshift.*; Key key; DatabaseSecretProps databaseSecretProps = DatabaseSecretProps.builder() .username("username") // the properties below are optional .encryptionKey(key) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
DatabaseSecretProps.Builder
A builder for
DatabaseSecretProps |
static class |
DatabaseSecretProps.Jsii$Proxy
An implementation for
DatabaseSecretProps |
Modifier and Type | Method and Description |
---|---|
static DatabaseSecretProps.Builder |
builder() |
default IKey |
getEncryptionKey()
(experimental) The KMS key to use to encrypt the secret.
|
java.lang.String |
getUsername()
(experimental) The username.
|
java.lang.String getUsername()
default IKey getEncryptionKey()
Default: default master key
static DatabaseSecretProps.Builder builder()
DatabaseSecretProps.Builder
of DatabaseSecretProps