@Stability(value=Experimental) @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(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String username,
IKey encryptionKey,
String excludeCharacters,
ISecret masterSecret,
Boolean replaceOnPasswordCriteriaChanges,
String secretName)
Constructor that initializes the object based on literal property values passed by the
DatabaseSecretProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IKey |
getEncryptionKey()
(experimental) The KMS key to use to encrypt the secret.
|
String |
getExcludeCharacters()
(experimental) Characters to not include in the generated password.
|
ISecret |
getMasterSecret()
(experimental) The master secret which will be used to rotate this secret.
|
Boolean |
getReplaceOnPasswordCriteriaChanges()
(experimental) Whether to replace this secret when the criteria for the password change.
|
String |
getSecretName()
(experimental) A name for the secret.
|
String |
getUsername()
(experimental) 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.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 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 © 2021. All rights reserved.