Class RotationMultiUserOptions.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.docdb.RotationMultiUserOptions.Jsii$Proxy
All Implemented Interfaces:
RotationMultiUserOptions, software.amazon.jsii.JsiiSerializable
Enclosing interface:
RotationMultiUserOptions

@Stability(Stable) @Internal public static final class RotationMultiUserOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements RotationMultiUserOptions
An implementation for RotationMultiUserOptions
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      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 software.amazon.jsii.JsiiSerializable
    • equals

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

      public final int hashCode()
      Overrides:
      hashCode in class Object