@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:46:51.574Z") @Stability(value=Stable) public interface DatabaseSecretProps extends software.amazon.jsii.JsiiSerializable
| 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()
The KMS key to use to encrypt the secret.
|
default String |
getExcludeCharacters()
Characters to not include in the generated password.
|
default ISecret |
getMasterSecret()
The master secret which will be used to rotate this secret.
|
default Boolean |
getReplaceOnPasswordCriteriaChanges()
Whether to replace this secret when the criteria for the password change.
|
String |
getUsername()
The username.
|
@Stability(value=Stable) @NotNull String getUsername()
@Stability(value=Stable) @Nullable default IKey getEncryptionKey()
Default: default master key
@Stability(value=Stable) @Nullable default String getExcludeCharacters()
Default: " %+~`#$&*()|[]{}:;<>?!'/
@Stability(value=Stable) @Nullable default ISecret getMasterSecret()
Default: - no master secret information will be included
@Stability(value=Stable) @Nullable default Boolean getReplaceOnPasswordCriteriaChanges()
This is achieved by overriding the logical id of the AWS::SecretsManager::Secret with a hash of the options that influence the password generation. This way a new secret will be created when the password is regenerated and the cluster or instance consuming this secret will have its credentials updated.
Default: false
@Stability(value=Stable) static DatabaseSecretProps.Builder builder()
DatabaseSecretProps.Builder of DatabaseSecretPropsCopyright © 2021. All rights reserved.