Interface RotationMultiUserOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:35.335Z") @Stability(Stable) public interface RotationMultiUserOptions extends, CommonRotationUserOptions
Options to add the multi user rotation.


 DatabaseInstance instance;
 DatabaseSecret myImportedSecret;
 instance.addRotationMultiUser("MyUser", RotationMultiUserOptions.builder()
  • Method Details

    • getSecret

      @Stability(Stable) @NotNull ISecret getSecret()
      The secret to rotate.

      It must be a JSON string with the following format:

         "engine": <required: database engine>,
         "host": <required: instance host name>,
         "username": <required: username>,
         "password": <required: password>,
         "dbname": <optional: database name>,
         "port": <optional: if not specified, default port will be used>,
         "masterarn": <required: the arn of the master secret which will be used to create users/change passwords>
    • builder

      @Stability(Stable) static RotationMultiUserOptions.Builder builder()
      a RotationMultiUserOptions.Builder of RotationMultiUserOptions