@Stability(value=Stable) @Internal public static final class DatabaseSecretProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DatabaseSecretProps
DatabaseSecretPropssoftware.amazon.jsii.JsiiObject.InitializationModeDatabaseSecretProps.Builder, DatabaseSecretProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(DatabaseSecretProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
DatabaseSecretProps.Builder. |
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(Object o) |
IKey |
getEncryptionKey()
The KMS key to use to encrypt the secret.
|
String |
getExcludeCharacters()
Characters to not include in the generated password.
|
ISecret |
getMasterSecret()
The master secret which will be used to rotate this secret.
|
Boolean |
getReplaceOnPasswordCriteriaChanges()
Whether to replace this secret when the criteria for the password change.
|
List<ReplicaRegion> |
getReplicaRegions()
A list of regions where to replicate this secret.
|
String |
getSecretName()
A name for the secret.
|
String |
getUsername()
The username.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(DatabaseSecretProps.Builder builder)
DatabaseSecretProps.Builder.public final String getUsername()
DatabaseSecretPropsgetUsername in interface DatabaseSecretPropspublic final IKey getEncryptionKey()
DatabaseSecretPropsDefault: default master key
getEncryptionKey in interface DatabaseSecretPropspublic final String getExcludeCharacters()
DatabaseSecretPropsDefault: " %+~`#$&*()|[]{}:;<>?!'/
getExcludeCharacters in interface DatabaseSecretPropspublic final ISecret getMasterSecret()
DatabaseSecretPropsDefault: - no master secret information will be included
getMasterSecret in interface DatabaseSecretPropspublic final Boolean getReplaceOnPasswordCriteriaChanges()
DatabaseSecretPropsThis 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 DatabaseSecretPropspublic final List<ReplicaRegion> getReplicaRegions()
DatabaseSecretPropsDefault: - Secret is not replicated
getReplicaRegions in interface DatabaseSecretPropspublic final String getSecretName()
DatabaseSecretPropsDefault: - A name is generated by CloudFormation.
getSecretName in interface DatabaseSecretProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.