public static final class DatabaseSecretProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DatabaseSecretProps
DatabaseSecretProps
DatabaseSecretProps.Builder, DatabaseSecretProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
IKey |
getEncryptionKey()
The KMS key to use to encrypt the secret.
|
java.lang.String |
getExcludeCharacters()
Characters to not include in the generated password.
|
ISecret |
getMasterSecret()
The master secret which will be used to rotate this secret.
|
java.lang.Boolean |
getReplaceOnPasswordCriteriaChanges()
Whether to replace this secret when the criteria for the password change.
|
java.util.List<ReplicaRegion> |
getReplicaRegions()
A list of regions where to replicate this secret.
|
java.lang.String |
getSecretName()
A name for the secret.
|
java.lang.String |
getUsername()
The username.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getUsername()
DatabaseSecretProps
getUsername
in interface DatabaseSecretProps
public final IKey getEncryptionKey()
DatabaseSecretProps
Default: default master key
getEncryptionKey
in interface DatabaseSecretProps
public final java.lang.String getExcludeCharacters()
DatabaseSecretProps
Default: " %+~`#$&*()|[]{}:;<>?!'/
getExcludeCharacters
in interface DatabaseSecretProps
public final ISecret getMasterSecret()
DatabaseSecretProps
Default: - no master secret information will be included
getMasterSecret
in interface DatabaseSecretProps
public final java.lang.Boolean getReplaceOnPasswordCriteriaChanges()
DatabaseSecretProps
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
getReplaceOnPasswordCriteriaChanges
in interface DatabaseSecretProps
public final java.util.List<ReplicaRegion> getReplicaRegions()
DatabaseSecretProps
Default: - Secret is not replicated
getReplicaRegions
in interface DatabaseSecretProps
public final java.lang.String getSecretName()
DatabaseSecretProps
Default: - A name is generated by CloudFormation.
getSecretName
in interface DatabaseSecretProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()