Class RotationMultiUserOptions.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class RotationMultiUserOptions.Jsii$Proxy extends implements RotationMultiUserOptions
An implementation for RotationMultiUserOptions
  • 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(RotationMultiUserOptions.Builder builder)
      Constructor that initializes the object based on literal property values passed by the RotationMultiUserOptions.Builder.
  • Method Details

    • getSecret

      public final ISecret getSecret()
      Description copied from interface: RotationMultiUserOptions
      The secret to rotate.

      It must be a JSON string with the following format:

          "engine": <required: must be set to 'mongo'>,
          "host": <required: instance host name>,
          "username": <required: username>,
          "password": <required: password>,
          "dbname": <optional: database name>,
          "port": <optional: if not specified, default port 27017 will be used>,
          "masterarn": <required: the arn of the master secret which will be used to create users/change passwords>
          "ssl": <optional: if not specified, defaults to false. This must be true if being used for DocumentDB rotations
                 where the cluster has TLS enabled>
      Specified by:
      getSecret in interface RotationMultiUserOptions
    • getAutomaticallyAfter

      public final Duration getAutomaticallyAfter()
      Description copied from interface: RotationMultiUserOptions
      Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.

      Default: Duration.days(30)

      Specified by:
      getAutomaticallyAfter in interface RotationMultiUserOptions
    • $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