Class DatabaseSecretProps.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class DatabaseSecretProps.Jsii$Proxy extends implements DatabaseSecretProps
An implementation for DatabaseSecretProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(DatabaseSecretProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the DatabaseSecretProps.Builder.
  • Method Details

    • getUsername

      public final String getUsername()
      Description copied from interface: DatabaseSecretProps
      The username.
      Specified by:
      getUsername in interface DatabaseSecretProps
    • getEncryptionKey

      public final IKey getEncryptionKey()
      Description copied from interface: DatabaseSecretProps
      The KMS key to use to encrypt the secret.

      Default: default master key

      Specified by:
      getEncryptionKey in interface DatabaseSecretProps
    • getExcludeCharacters

      public final String getExcludeCharacters()
      Description copied from interface: DatabaseSecretProps
      Characters to not include in the generated password.

      Default: " %+~`#$invalid input: '&'*()|[]{}:;invalid input: '<'>?!'/

      Specified by:
      getExcludeCharacters in interface DatabaseSecretProps
    • getMasterSecret

      public final ISecret getMasterSecret()
      Description copied from interface: DatabaseSecretProps
      The master secret which will be used to rotate this secret.

      Default: - no master secret information will be included

      Specified by:
      getMasterSecret in interface DatabaseSecretProps
    • getReplaceOnPasswordCriteriaChanges

      public final Boolean getReplaceOnPasswordCriteriaChanges()
      Description copied from interface: DatabaseSecretProps
      Whether to replace this secret when the criteria for the password change.

      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

      Specified by:
      getReplaceOnPasswordCriteriaChanges in interface DatabaseSecretProps
    • getReplicaRegions

      public final List<ReplicaRegion> getReplicaRegions()
      Description copied from interface: DatabaseSecretProps
      A list of regions where to replicate this secret.

      Default: - Secret is not replicated

      Specified by:
      getReplicaRegions in interface DatabaseSecretProps
    • getSecretName

      public final String getSecretName()
      Description copied from interface: DatabaseSecretProps
      A name for the secret.

      Default: - A name is generated by CloudFormation.

      Specified by:
      getSecretName in interface DatabaseSecretProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface
    • equals

      public final boolean equals(Object o)
      equals in class Object
    • hashCode

      public final int hashCode()
      hashCode in class Object