Interface DatabaseSecretProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DatabaseSecretProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:29.486Z")
@Stability(Experimental)
public interface DatabaseSecretProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Construction properties for a DatabaseSecret.
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.redshift.alpha.*; import software.amazon.awscdk.services.kms.*; Key key; DatabaseSecretProps databaseSecretProps = DatabaseSecretProps.builder() .username("username") // the properties below are optional .encryptionKey(key) .excludeCharacters("excludeCharacters") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forDatabaseSecretProps
static final class
An implementation forDatabaseSecretProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseSecretProps.Builder
builder()
default IKey
(experimental) The KMS key to use to encrypt the secret.default String
(experimental) Characters to not include in the generated password.(experimental) The username.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUsername
(experimental) The username. -
getEncryptionKey
(experimental) The KMS key to use to encrypt the secret.Default: default master key
-
getExcludeCharacters
(experimental) Characters to not include in the generated password.Default: '"@/\\\ \''
-
builder
- Returns:
- a
DatabaseSecretProps.Builder
ofDatabaseSecretProps
-